Android: Animated gif [duplicate]
I've got an animated gif which is a loading bar. The image displays but there is n开发者_Go百科o animation, how would I get it to animate?
ImageView cannot display animated gifs directly. You have to decompose the animated gif into frames (separate gif files) and animate them using an AnimationDrawable.
http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html
精彩评论