Loving Lean Layouts
summary
Argues that layout complexity causes measurable jank and shows concrete fixes: uses hierarchy viewer plus systrace and dumpsys frame stats to find costly measure/layout passes, demoing a deliberately awful sample that scrolls poorly. Recommends lint checks, replacing nested weights, using compound drawables and Spans or plain View/Space instead of extra view groups, avoiding RelativeLayout as root, and—if needed—writing a custom ViewGroup to regain control. Practical, tool-driven, and example-rich.
AI-written summary · about
chapters (16)
- 0:00Start
- 0:20Loving Lean Layouts
- 2:01Lean Layouts Matter
- 5:12Relative Layout
- 9:40Platform Layouts
- 11:06Lists
- 12:58The Hierarchy Viewer
- 14:45Hierarchy Viewer
- 15:41View Hierarchy
- 19:17Android Studio
- 23:30Compound Drawables
- 24:32Spano Bowls
- 30:00Linear Layout
- 31:52Never Use Relative Layout
- 32:29Custom View Group
- 34:52Good Practices








