~/talk

Conquering Common Conundrums with ConstraintLayout

Talkat Android Makers 2020 · 2020-04-20..04-21· [android]
slides:none on file

ConstraintLayout gets reduced to an actionable toolbox: use 0dp (match_constraint) instead of match_parent, apply baseline alignment for mixed text, prefer barrier and guideline helpers to avoid overlap, toggle constrainedWidth=true to combine wrap_content and constraints, pick chain styles (spread / spread_inside / packed) for spacing, and store layouts in ConstraintSet to swap states and animate with about five lines of code demoed to switch after three seconds; demos consistently render and handle tricky data.

AI-written summary · about

  1. 0:00Intro
  2. 2:11ConstraintLayout Features
  3. 8:02Match Parent
  4. 15:23Impossible Constraint
  5. 19:31Impossible Constraints
  6. 20:41Centered Constraints
  7. 22:23Respecting Wrap Content
  8. 24:03Wrapping Content
  9. 26:48Overlapping Content
  10. 38:03Swapping Layouts
  11. 39:28Final Thoughts
~/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.