开发者

Animated gif in android

i want to use animated gif in android. hows this possible? is it comp开发者_如何学Pythonatible in 1.6,2.0?


Animated gif support is not available in 1.6 SDK though it is available in 2.2(Froyo)

http://code.google.com/p/android/issues/detail?id=3422


you can decompose the animated gif into frames (separate gif files) and animate them using an animationdrawable in an imageview.

http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html

yes, it is compatible with 1.6.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜