Chapter     9

Android Image Animation: Frame-Based Animation Using XML Constructs

In this chapter, we will take our already visually impressive Hello World application to the next level of New Media awareness, by adding animated visual elements to our application user interface screen using XML markup.

Android features two different types of animation, the first type, which we’ll be focusing on in this chapter, is frame-based or raster animation.

Raster animation uses a sequence of bitmaps called cels (if you are in the 2D animation industry) or frames (if you are in the Film or digital video editing industry). The second type of animation is procedural or vector animation and we will cover that in Chapter 10, as it is completely different. ...

Get Learn Android App Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.