Property Animations: The New Animation API

Now that you are feeling comfortable with the numerous animation options you have seen so far, we need to tell you that the animation API is entirely overhauled in 3.0 and 4.0. The new approach to animations is called property animation. If you have read Chapter 8 on fragments, you have seen how fragments are transitioned into their positions through animators. These animators are part of the new property animation API. We covered only a small portion of the full property animation API in that chapter.

The Property Animation API is extensive and different enough to refer to the previous animation API (prior to 3.x) as the legacy API.

NOTE: The old animation API is in the package android.view.animation ...

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.