Animations and Transitions

Try the Compose way
Jetpack Compose is the recommended UI toolkit for Android. Learn how to add animations in Compose.

When your UI changes in response to user action, you should animate the layout transitions. These animations give users feedback on their actions and help keep them oriented to the UI.

Android includes the transitions framework, which enables you to easily animate changes between two view hierarchies. The framework animates the views at runtime by changing some of their property values over time. The framework includes built-in animations for common effects and lets you create custom animations and transition lifecycle callbacks.

To get started, watch the video embedded here and read the Animations Overview.

Videos

Additional resources

For more information about animation, consult the following resources.

Video

Samples