~/talk

Loving Lean Layouts

Talkat Mobile Era 2016 · 2016-11-03..11-04· [android, web-performance]
slides:none on file

XML view count and hierarchy depth drive measure/layout cost and can cause jank because frames must finish within 16.6 ms for 60 fps. RelativeLayout forces a double-measure pass (nested relatives multiply work), lists with dense item views amplify cost, and dumpsys gfxinfo limits to 120 frames while FrameMetricsListener gives unlimited in-app metrics. Use Hierarchy Viewer/Layout Inspector and systrace to find hotspots; replace extra views with compound drawables or Spannables, try ConstraintLayout to flatten, or write a custom view group — custom drawing fixed a real-world jank case.

AI-written summary · about

  1. 0:00Introduction
  2. 2:30Performance Matters
  3. 5:50Review
  4. 11:52Hierarchy Viewer
  5. 15:13Layout Inspector
  6. 17:00Systrace
  7. 18:40Dump
  8. 19:31Frame metrics listener
  9. 20:35Fixing problems
  10. 24:42Simplify
  11. 33:12Constraint Layout
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.