Layout Animation

Like frame-by-frame animation, layout animation is pretty simple. As the name suggests, layout animation is dedicated to certain types of views laid out in a particular manner. For instance, you'll use layout animation with ListView and GridView, which are two commonly used layout controls in Android. Specifically, you'll use layout animation to add visual effects to the way each item in a ListView or GridView is displayed. In fact, you can use this type of animation on all controls derived from a ViewGroup.

Unlike frame-by-frame animation, layout animation is not achieved through repeating frames. Instead, it is achieved by changing the various properties of a view over time. Every view in Android has a transformation matrix ...

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

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