8. Animation

Animations make an application more attractive and dynamic. You can use animation in developing game applications, educational tutorials, and demonstrations. In this chapter, you learn the different types of animation that Android supports. You implement property animation by using ValueAnimator and ObjectAnimator. Also, you implement multiple animations using AnimatorSet. In addition, you use frame-by-frame animation, tweening animation, and layout animation. Finally, you learn to collect and sequence animations using AnimationSet.

Recipe: Understanding Types of Animations

Broadly, Android supports two types of animations: property and view animation:

Property animation—This is a robust framework with which you can animate properties ...

Get The Android™ Tablet Developer’s Cookbook 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.