Tibolte / ElasticDownload

We are not Gif makers, We are developers
1.65k stars 266 forks source link

Target for Android v2.2+ is not accurate #22

Closed ZionPi closed 9 years ago

ZionPi commented 9 years ago

Drawable added getAlpha method in API level19. add applyTheme in API 21,how can I implement those method in lower version,say min API 12 ?

Tibolte commented 9 years ago

I believe you are talking about applyTheme() and getAlpha() from the VectorCompat library. They are backported methods and have their own implementation Have you tried running the example on a device that work under 12?

ZionPi commented 9 years ago

I donot run the example,only include source code to my example project,after comment those override annotations to remove errors(caused by high API level demand).Finally, I can see the dialogue.But with rather crappy theme far from your illustration gifs.

Tibolte commented 9 years ago

Have you imported all the source code as a library or have it as a Gradle dependency?

ZionPi commented 9 years ago

My workspace is eclipse,do not have any knowledge of Gradle.

Tibolte commented 9 years ago

allright, I have dropped Eclipse a while ago :)

Also do you have ElasticDownload having appcompat-v7 and nineoldandroids as dependencies?

ZionPi commented 9 years ago

I have nineoldandroids but do not have appcompat-v7.I'll give it a try,thanks!

Tibolte commented 9 years ago

@ZionPi any update on that?