What problem does it solve?
Adaptive UI development prevents layouts from breaking across phones, tablets, foldables, desktops, TVs, cars, and XR by making navigation, multi-pane content, lists, and scrolling app bars respond to window and input conditions.
Core Features & Use Cases
- Adaptive navigation areas: Switch between bottom navigation and navigation rails using Material 3 adaptive navigation scaffolds, while preserving show/hide behavior (for example, on scroll).
- Multi-pane layouts with Navigation 3 Scenes: Implement list-detail and supporting-pane patterns using
SceneStrategy metadata and back stack-aware pane behavior.
- Responsive list/grid density: Make vertical lists adapt by changing columns with adaptive grid cell sizing and by migrating appropriate non-lazy layouts to experimental
Grid.
- Device-aware UI decisions: Use Compose
MediaQuery to branch UI based on window size, posture, pointer precision, keyboard kind, and sensor capabilities to better support touch, mouse, and keyboard workflows.
- Pre-flight validation: Add screenshot tests for major form factors and use Compose Preview screenshot tooling when coverage is missing.
Quick Start
Migrate your app’s Compose UI by adding adaptive NavigationSuiteScaffold, implementing multi-pane behavior with Navigation 3 SceneStrategy, and validating with screenshot tests across phone, foldable, tablet, and desktop.