~/talk

Implementing Android apps for all screen sizes

Talkat Google I/O 2022 · 2022-05-11..05-12· [android, ux-and-product-design]
github:alexvanyo
slides:none on file

A practical recipe for one app that adapts to phones, foldables, tablets and Chrome OS using Jetpack Compose and a single navigation graph with four top-level destinations (For You, Episodes, Saved, Interests). Breakpoints are concrete: window size classes compact <600 dp, medium 600–840 dp, expanded ≥840 dp, swapping nav bar/rail/drawer and switching layouts (one vs two columns). State uses unidirectional flow in ViewModel, saved with rememberSaveable and verified with stateRestorationTester. Navigation uses Navigation Compose; testing uses emulators, a resizable device and Gradle Managed Devices.

AI-written summary · about

  1. 0:00Introduction
  2. 6:40Compose
  3. 9:46Testing
~/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.