2017 DevFestMN Huyen Tue Dao
summary
ConstraintLayout uses a linear-equation engine (the Cassowary solver) to compute positions, adds practical features like dimension ratio for aspect constraints, chains with spread/packed/weighted behaviors and a pack and align tools UI to generate connections, and exposes constraint sets to clone/apply alternate layouts for smooth transitions. Examples show clean, flat hierarchies and working animated swaps; some editor quirks and fragile, spaghetti constraints remain because the tooling and library are still evolving.
AI-written summary · about
chapters (21)
- 0:00ConstraintLayout intro
- 2:12What is ConstraintLayout
- 5:06Anchors and edge constraints
- 7:17Centering views with bias
- 9:02Aligning text baselines
- 10:22Sizing views fixed/wrap
- 11:49Match constraint vs match parent
- 13:10Dimension ratios for aspect
- 16:00Creating chains
- 20:55Weighted and packed chains
- 22:24UI builder for chains
- 26:20Solving UI layout problems
- 28:05Centering FAB over hero
- 31:15ConstraintSet intro
- 33:19ConstraintSet for transitions
- 36:54ConstraintSet examples
- 39:24ConstraintLayout caveats
- 42:10Clean maintainable constraints
- 43:13ConstraintLayout performance
- 46:20ConstraintLayout philosophy
- 48:07ConstraintLayout resources








