(There are two methods for Android to play gif animation: decoding and frame by frame playing. Android does not support playing frame animation directly using the Gif image. Android provides another management method, that is, using AnimationDraw to support frame by frame playing. But how to break up the gif image into images of each frame? You can understand the source code.
TestGif\bin\com\xlm\testgif\GifActivity$1.class
TestGif\bin\com\xlm\testgif\GifActivity.class
TestGif\bin\com\xlm\testgif\GifDecoder.class
TestGif\bin\com\xlm\testgif\GifFrame.class
TestGif\bin\com\xlm\testgif\GifFrameActivity.class
TestGif\bin\com\xlm\testgif\GifView.class
TestGif\bin\com\xlm\testgif\MainActivity$MainListener.class
TestGif\bin\com\xlm\testgif\MainActivity.class
TestGif\bin\com\xlm\testgif\R$anim.class
TestGif\bin\com\xlm\testgif\R$attr.class
TestGif\bin\com\xlm\testgif\R$drawable.class
TestGif\bin\com\xlm\testgif\R$id.class
TestGif\bin\com\xlm\testgif\R$layout.class
TestGif\bin\com\xlm\testgif\R$string.class
TestGif\bin\com\xlm\testgif\R$style.class
TestGif\bin\com\xlm\testgif\R.class
TestGif\bin\classes.dex
TestGif\bin\resources.ap_
TestGif\bin\TestGif.apk
TestGif\gen\com\xlm\testgif\R.java
TestGif\res\anim\gif_ one.xml
TestGif\res\drawable\gif10.png
TestGif\res\drawable\gif11.png
TestGif\res\drawable\gif12.png
TestGif\res\drawable\gif13.png
TestGif\res\drawable\test.gif
TestGif\res\drawable-hdpi\gif10.png
TestGif\res\drawable-hdpi\gif11.png
TestGif\res\drawable-hdpi\gif12.png
TestGif\res\drawable-hdpi\gif13.png
..... Too many files omitted)