O'Reilly logo

Pro Android 4 by Satya Komatineni, Dave MacLean

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required