Chapter     4

Android Procedural Animation: XML, Concepts, and Optimization

In this fourth chapter, we will take a close look at how XML markup can be used to create procedural animation in the Android operating system.

Procedural animation is significantly more complex than raster animation, which simply displays a sequence of images on the display, so that we can create the illusion of motion. Frame animation only allows us to control the individual timing of each frame that is displayed, after we specify what frames will be utilized for the animation. Procedural animation takes this to the next level of complexity, as you will see during this chapter.

Procedural animation actually uses code, in most cases via XML markup, to define transformations ...

Get Pro Android Graphics now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.