Demystifying Constraint Layout
summary
ConstraintLayout replaces nested Linear/Relative hierarchies with flat constraints to avoid double taxation of measure/layout passes and help hit the 16 milliseconds frame budget for 60fps, supports chains that emulate LinearLayout distribution, and adds gridlines, barriers, groups and new placeholders (ConstraintLayout 1.1) for runtime swapping and simpler transitions. The Android Studio blueprint editor and condensed attributes panel show constraints and percent positioning, it ships as a support library back to Gingerbread and is the default layout in Android Studio 3.0.
AI-written summary · about
chapters (35)
- 0:00Introduction
- 1:26Material Design Course
- 2:04Android View Lifecycle
- 2:35Measure Specs
- 3:06Modes
- 4:05OnLayout
- 5:11Double Taxation
- 5:48Why is this important
- 6:11How long does it take
- 6:45Relative Layout
- 7:07Grid Layout
- 7:29Constraint Layout Overview
- 8:45What are constraints
- 9:52Design vs Blueprint view
- 10:11Attributes view
- 10:58Deleting constraints
- 11:57Adding constraints
- 12:47Toggle slider
- 13:41Attributes
- 15:14Match constraints
- 17:05Margins
- 17:31Chains
- 18:27Chain Link
- 19:22How Many Designers
- 19:39Designers vs Developers
- 20:56Help
- 21:55Layouts
- 22:20Placeholders
- 23:06Gridlines
- 23:52Barriers
- 24:38Barrier View
- 24:56Groups
- 26:06Placeholder
- 27:38Circular Positioning
- 28:02Recap








