~/talk

Advanced ConstraintLayout

Talkat 360|AnDev 2017 · 2017-07-13..07-14· [android]
slides:none on file

ConstraintLayout 1.0 is a flat, expressive layout with deep Android Studio integration and 1.1 adds barriers and groups, placeholder support, percent dimensions and ConstraintSet-based animation. The team ships a custom Cassowary-derived solver optimized to about 80 KB per 1000 constraints, plus an optimizer that skips the solver when possible. Beware match_constraint (0dp) causes a second measurement pass for wrapped content; chains, chains-with-bias, and barriers enable surprising layout behaviors that the solver resolves.

AI-written summary · about

  1. 0:00Intro
  2. 0:13What is it
  3. 1:47The Tetris Model
  4. 4:23Flat Layouts
  5. 6:28Simplex
  6. 7:07Cassowary
  7. 9:22ConstraintLayout solver
  8. 10:21Constraints Model
  9. 12:06Constraint Layout
  10. 15:28Optimizer - wrap content
  11. 16:19Optimizer - Direct resolution
  12. 17:20Optimizer - Chains
  13. 21:22Gone Behavior
  14. 22:13Gone Margins
  15. 22:50Example
  16. 24:23Barriers
  17. 26:38Groups
  18. 28:10Placeholder
  19. 29:45Dimension Constraints
  20. 32:00default=wrap
  21. 34:31Percent Dimension
  22. 38:14ConstraintLayout : choreographer
  23. 39:45Custom Transitions
  24. 40:04What's next
  25. 42:29Documentation
~/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.