<br />

Try the Compose way  
Jetpack Compose is the recommended UI toolkit for Android. Learn how to use Animations in Compose.  
[Animations in Compose →](https://developer.android.com/jetpack/compose/animation)  
![](https://developer.android.com/static/images/android-compose-ui-logo.png)

<br />

For more information about animation, consult the following resources.

## Videos

- [Five quick animations to make your Compose app stand out](https://www.youtube.com/watch?v=0mfCbXrYBPE)
- [Jetpack Compose: Animation](https://www.youtube.com/watch?v=7yY2OocGiQU)
- [Motion Layout (MAD Skills playlist)](https://www.youtube.com/playlist?list=PLWz5rJ2EKKc_PEOEHNBEyy6tPX1EgtUw2)
- [Motional intelligence: Build smarter animations (Google I/O '19)](https://www.youtube.com/watch?v=f3Lm8iOr4mE)
- [Get animated (Android Dev Summit '18)](https://www.youtube.com/watch?v=N_x7SV3I3P0)
- [A window into transitions - Google I/O '16](https://www.youtube.com/watch?v=4L4fLrWDvAU)

## Samples

There are many code samples available in the[Android Animation samples GitHub repository](https://github.com/android/animation-samples)that demonstrate specific animation techniques. There are a number of separate sample projects within this repository:

|                                                       Project                                                       |                                                      Description                                                       |
|---------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|
| [ActivitySceneTransitionBasic](https://github.com/android/animation-samples/tree/main/ActivitySceneTransitionBasic) | Shows how to use shared element transitions from one`Activity`to another.                                              |
| [BasicTransition](https://github.com/android/animation-samples/tree/main/BasicTransition)                           | Shows how to use the Transitions library to create smooth transitions between UI states.                               |
| [CustomTransition](https://github.com/android/animation-samples/tree/main/CustomTransition)                         | Shows how to create custom transitions using the Transitions library.                                                  |
| [DrawableAnimations](https://github.com/android/animation-samples/tree/main/DrawableAnimations)                     | Shows how to create animated vector drawables.                                                                         |
| [GridToPager](https://github.com/android/animation-samples/tree/main/GridToPager)                                   | Shows how to create shared element transitions from a`RecyclerView`to a`ViewPager`and back again.                      |
| [Interpolator](https://github.com/android/animation-samples/tree/main/Interpolator)                                 | Shows how different interpolators affect the dynamics of your animations.                                              |
| [Motion](https://github.com/android/animation-samples/tree/main/Motion)                                             | Shows how to implement various types of Material Design Motion for layouts, lists, and navigation.                     |
| [MotionCompose](https://github.com/android/animation-samples/tree/main/MotionCompose)                               | Shows how to implement various different types of Material Design Motion for Jetpack Compose.                          |
| [OurStreets](https://github.com/android/animation-samples/tree/main/OurStreets)                                     | Showcases shared element transitions throughout the app.                                                               |
| [RevealEffectBasic](https://github.com/android/animation-samples/tree/main/RevealEffectBasic)                       | Shows how to implement the circular reveal effect.                                                                     |
| [Unsplash](https://github.com/android/animation-samples/tree/main/Unsplash)                                         | The example code from the Google I/O '16 talk[A window into transitions](https://www.youtube.com/watch?v=4L4fLrWDvAU). |