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 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.