Android does not support GIF. As a workaround, Android offers an Animation List / AnimationDrawable . You will need to convert the GIF into separate frames [.png files].

This GIF can be divided into its frames:

Save them as frame01.png, frame02.png, etc. and create an animated list XML file, say progress_animation.xml
<animation-list android:id="@+id/selected" android:oneshot="false">
<item android:drawable="@drawable/frame01" android:duration="50" />
<item android:drawable="@drawable/frame02" android:duration="50" />
<item android:drawable="@drawable/frame03" android:duration="50" />
....
<item android:drawable="@drawable/frameN" android:duration="50" />
, AnimationDrawable start()
AnimationDrawable progressAnimation = (AnimationDrawable) yourImageView.getBackground();
progressAnimation.start();
Android android.graphics.Movie. InputStreams. GifMovieView View:
public class GifMovieView extends View
:
http://droid-blog.net/2011/10/14/tutorial-how-to-use-animated-gifs-in-android-part-1/
:
.GIF Android