Introduction - If you have any usage issues, please Google them yourself
Simple 2D animation source code is to show a series of images in a very short time interval, the frame image to be placed in /res/drawable (frame1.png... Framen.jpg)
Create an XML (assuming a frame.xml) file for the frame set, also placed /res/drawable under, the XML file actually defines the animationdrawable, class of image collections, the drawable object is set as the background of the ImageView and let them play.