~/talk

Conquering Common Conundrums with ConstraintLayout

slides:none on file

Notes how ConstraintLayout treats dimensions: avoid match_parent and use 0dp (match_constraint) which unlocks attributes like DimensionRatio and bias; use constraintWidth=true or constraintHeight to prefer match-constraint when wrap-content would break constraints. Use Baseline for text alignment, Barrier for dynamic edge guarding, and Guidelines for reusable keylines. Treat chains sparingly (only for spacing behavior); use Flow as a Flow (flexbox-like) wrapper to get wrapping layouts. These techniques reduce brittle hacks and make layouts adapt.

AI-written summary · about

  1. 0:00ConstraintLayout introduction
  2. 3:53ConstraintLayout toolbox
  3. 10:13Match constraint vs parent ratios
  4. 12:44Impossible constraints and bias
  5. 18:27Bias for alignment and guardrails
  6. 21:57Constrained width and wrap content
  7. 24:45Barriers for dynamic content
  8. 26:57Guidelines for layouts
  9. 30:29Chains and when to use them
  10. 33:58Flow for view arrangements
  11. 37:30Summary
~/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.