Insets: Compose edition
summary
Explains how to go edge‑to‑edge using Compose by handling system insets directly: call WindowCompat.setDecorFitsSystemWindows=false and set windowSoftInputMode to adjustResize, make bars transparent, then use windowInsetsPadding (and IME padding) so content moves and animates with status bars, nav/taskbar, and keyboard. Shows imeNestedScroll to link scroll gestures to IME on supported versions, notes Material Three components have built‑in inset support, points to the Now in Android sample and an Accompanist→Compose migration guide.
AI-written summary · about
chapters (8)
- 0:00Introduction to insets
- 0:26Understanding inset basics
- 1:42Setting up the app window
- 2:16Using inset modifiers
- 2:59Managing nested insets
- 4:24Keyboard and scroll support
- 5:06Material 3 support
- 5:42Conclusion and resources
related talks
07mInsets: Compose edition
38mCutting-Edge-to-Edge in Android 15
33mUnderstanding WindowInsets
21mPractical edge-to-edge: A Complete Walkthrough
28mBecoming a master window fitter�
37mGoing edge-to-edge with Gesture Navigation
43mBuilding for the Future of Android
26mMaking Apps adaptive with Material and Compose
