Grokking the contrastaint layout
summary
Demo-heavy coverage of ConstraintLayout and the revamped layout editor in Android Studio with concrete claims and caveats: requires Android Studio 2.2+ (recommend 2.4 preview), add one Gradle line, supports chains, guidelines, percent positioning, aspect ratios and a match_constraint (0dp) sizing model; handles view visibility with GONE in chains, but preview can mislead unconstrained views and error coloring shows warnings as red. Shows programmatic edits via ConstraintSet and several editor bugs and workarounds.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:52Basics
- 1:35Project Initialization
- 2:37Concepts
- 4:27Blueprint Editor
- 5:48Layout Editor
- 29:01Visibility
- 31:35Aspect Ratio
- 34:54CL programmatically
- 37:38CL vs. AutoLayout
- 43:23Future work
related talks
51mDesigning User Interfaces with Android Studio and ConstraintLayout
29mDemystifying Constraint Layout
28mDesigning With Constraints
37mAdvanced ConstraintLayout
46mConstraintLayout 2.0
38mWhat's new with ConstraintLayout and Android Studio design tools
37mConstraintLayout deep dive
14mWhat's new in design tools
