Android Frame Animation:xml, Concepts and optimizationFrame Animation Concepts:cels, framerate, and ResolutionThe development of animationCel-base AnimationRaster animationBitmap
Commonly called bitmap animation
Not currently support animated GIFoptimizing frame animation:color Depth and Frame ratethree primary WA Ys 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 t O get a far smaller per-frame data foot print by throwing away some of the image data and resulting quality.
Hardware conditions, processor 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 <animation-list> tag:the Parent Frame Containerandroid ' s <item> tag:specifying Your Animat Ion FramesCreating A frame Animation for our graphicsdesign Appinstantiating the frame Animation definit Ion Using Java
Animationdrawable drawable = (animationdrawable) imageview.getdrawable ();
Drawable.start ();