ConstraintLayout 2.0 : let’s use the new things!
summary
ConstraintLayout 2.0 adds a new MotionLayout subclass (alpha‑1 released three weeks before the upload) that drives transitions declaratively from an external MotionScene XML, exposes a 0→1 progress that can be set or driven by onSwipe for interactive gestures, and supports custom attributes, keyframes and keycycles for rotations, colors and oscillations. Demos use only two XML files per interaction, include ImageFilterView utilities, and the examples shown run and reproduce the demos while an editor for Studio is promised.
AI-written summary · about
chapters (12)
- 0:00Start
- 7:16Transitions
- 14:35Utilities
- 16:50Events
- 21:38OnClick
- 22:11Keyframes
- 22:39Keyframe a rendez-vous in time
- 25:35Coordinate Systems
- 27:37Attributes
- 29:31Cycles
- 30:54Value (attributes)
- 34:07Collapsible Toolbar (CoordinatorLayout)








