~/talk

Becoming a master window fitter�

Talkat droidcon NYC 2017 · 2017-09-25..09-26· [android]
slides:none on file

Explains why WindowInsets exist, how Android behavior changes across versions, and exactly which APIs to use: call setSystemUiVisibility layout flags to lay out behind bars, avoid hardcoding status bar sizes or reading internal resources, and use WindowInsets.getSystemWindowInsetTop/Bottom/Left/Right delivered via setOnApplyWindowInsetsListener or ViewCompat to read real inset values; prefer fitsSystemWindows on DrawerLayout/CoordinatorLayout/AppBarLayout/CollapsingToolbarLayout for provided widgets and avoid the translucent-system-bars shortcut because it hides important behaviors.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50What is a window
  3. 3:35Why fit windows
  4. 6:19History of window fitting
  5. 9:10WTFs explained
  6. 13:46Handling system windows
  7. 18:01What not to do
  8. 21:41Window insets API
  9. 26:17Five key rules
~/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.