Skip to content

Most visited

Recently visited

navigation

Adding Animations

Dependencies and prerequisites

You should also read

Try it out

Download the sample app

Animations.zip

Animations can add subtle visual cues that notify users about what's going on in your app and improve their mental model of your app's interface. Animations are especially useful when the screen changes state, such as when content loads or new actions become available. Animations can also add a polished look to your app, which gives your app a higher quality feel.

Keep in mind though, that overusing animations or using them at the wrong time can be detrimental, such as when they cause delays. This training class shows you how to implement some common types of animations that can increase usability and add flair without annoying your users.

Lessons

Crossfading Two Views
Learn how to crossfade between two overlapping views. This lesson shows you how to crossfade a progress indicator to a view that contains text content.
Using ViewPager for Screen Slides
Learn how to animate between horizontally adjacent screens with a sliding transition.
Displaying Card Flip Animations
Learn how to animate between two views with a flipping motion.
Zooming a View
Learn how to enlarge views with a touch-to-zoom animation.
Animating Layout Changes
Learn how to enable built-in animations when adding, removing, or updating child views in a layout.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.