Android Frame Animation: XML, Concepts and OptimizationFrame Animation Concepts: Cels, Framerate, and Resolution Animation development cel-base animationraster animationbitmap
Commonly called bitmap animation
Not currently support Animated GIFOptimizing Frame Animation: Color Depth and Frame Ratethree primary ways to optimize
Reduce the resolution
Reduce the color depth
And reduce the framerate
Format: PNG32, Png8If you don't need to composite your animation over other graphics, you can also consider using the lossy JPEG format to get a far smaller per-frame data foot print by throwing away some of the image data and resulting quality.
Hardware conditions, processors and memory should be considered
Creating Frame Animation in Android Using XML Markup
Frame animation uses the drawable resource folder
Animation (covered in Chapter 4) uses the/res/anim folder
AnimationDrawable
Android Tag: The Parent Frame ContainerAndroid's Tag: Specifying Your Animation FramesCreating a Frame Animation for our GraphicsDesign AppInstantiating the Frame Animation Definition Using Java
AnimationDrawable drawable = (AnimationDrawable) imageView. getDrawable ();
Drawable. start ();