android-motion-animations
Installation
SKILL.md
Android Motion & Animations ๐ญโจ
Expert strategies for building fluid, high-performance, and delightful user experiences using the Jetpack Compose animation system.
โก When to Use
- Screen Transitions: Implementing Shared Element Transitions (Compose 1.7+).
- Interactive UI: Creating elastic or physics-based movements.
- Dynamic Layouts: Animating content size changes or visibility.
- Micro-interactions: Adding subtle "magic" to buttons, icons, or cards.
- Lottie/Rive: Integrating complex vector-based animations.
๐๏ธ The 4 Layers of Compose Animation
1. High-Level (Simple)
AnimatedVisibility: Slide/Fade in and out.AnimatedContent: Transition between different UI states.Modifier.animateContentSize(): Smoothly resize a container as children change.