~/talk

Build adaptive apps with Compose's new APIs

Talkat Google I/O Connect Berlin 2026 · on Saturday, 2026-06-27· [android, frontend-architecture]
name:Rob Orgiu
links:none on file
slides:none on file

Three new Compose foundation APIs land as practical building blocks: MediaQuery exposes window posture (flat, tabletop, book), window width/height (use derivedMediaQuery to debounce frequent updates), mic/camera booleans, pointer precision, keyboard kind and viewing distance. FlexBox lays out one-directional containers, forbids lazy children, supports flex grow/shrink (0.0–1.0), wrapping and a grow modifier used to make a collapsing two-button/one-button responsive bar. Grid API is non-lazy, 1-indexed, supports fixed/percent/FR tracks, spans and named areas; the sample app adapts correctly with just a few config changes.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30Media Query API
  3. 1:45Media Query capabilities
  4. 5:12Media Query example
  5. 9:27FlexBox API
  6. 10:37FlexBox layout and sizing
  7. 14:51FlexBox code example
  8. 17:17Adaptive UI with FlexBox
  9. 20:30List detail and supporting pane
  10. 21:31Grid API
  11. 24:00Grid configuration
  12. 31:24Grid layout example
  13. 34:32What you should know
~/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.