Cutting-Edge-to-Edge in Android 15
summary
Android 15 forces edge-to-edge so apps must handle window insets; this session shows concrete fixes in Jetpack Compose: use WindowInsetsPadding and consumeWindowInsets to avoid double padding, convert insets to PaddingValues for LazyColumn, add a gradient when content scrolls under the status bar, and handle landscape/gesture vs button navigation. Demonstrations include a Maven Central library to simulate window insets in previews, an alpha Google tool compose preview screenshot testing for JVM screenshots, and a GitHub test helper with window inset assertions that runs 256 configuration permutations.
AI-written summary · about
chapters (10)
- 0:00Edge-to-edge in Android 15
- 1:10Window insets and edge-to-edge
- 5:51Enabling edge-to-edge
- 8:45Edge-to-edge layout issues
- 16:41Detect inset problems with previews
- 23:52Edge-to-edge screenshots
- 27:29Programmatic overlapping tests
- 31:54Testing device configurations
- 34:05Robolectric edge-to-edge tests
- 36:30Key takeaways







