~/talk

Cutting-Edge-to-Edge in Android 15

Talkat droidcon London 2024 · 2024-10-31..11-01· [android]
links:none on file
slides:none on file

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

  1. 0:00Edge-to-edge in Android 15
  2. 1:10Window insets and edge-to-edge
  3. 5:51Enabling edge-to-edge
  4. 8:45Edge-to-edge layout issues
  5. 16:41Detect inset problems with previews
  6. 23:52Edge-to-edge screenshots
  7. 27:29Programmatic overlapping tests
  8. 31:54Testing device configurations
  9. 34:05Robolectric edge-to-edge tests
  10. 36:30Key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.