~/talk

Demystifying ConstraintLayout

Talkat Windy City DevFest 2018 · on Friday, 2018-01-12· [android, ux-and-product-design]
slides:none on file

Explains why multiple measure/layout passes cause UI jank and shows ConstraintLayout cuts those passes by replacing nested LinearLayouts with chains and other constraint patterns, trading expensive re-measures for a solver based on the Cassowary algorithm. Demos and editor tips cover match_constraint vs fixed sizes, using double taxation as the performance metric, plus concrete features that work: guidelines, barriers, groups, placeholders and circular positioning. Notes conversion tool and some match_constraint cases still need manual tuning.

AI-written summary · about

  1. 0:00Start
  2. 1:02The Android View Rendering Cycle
  3. 1:51MeasureSpec Modes
  4. 2:43What is double taxation?
  5. 6:31ConstraintLayout
  6. 7:13What is a constraint?
  7. 8:37Relative Positioning Constraints
  8. 10:37The New Layout Editor
  9. 15:51Chains
  10. 17:51Virtual Helper Objects
  11. 19:56Barriers
  12. 21:58Groups
  13. 24:40Circular Positioning
~/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.