~/talk

MotionLayout: Animation made easy

Talkat droidCon Berlin 2019 · 2019-07-01..07-03· [android, web-animation]
links:none on file
slides:none on file

MotionLayout (ConstraintLayout 2.0) makes complex Android animations declarative by describing transitions in a motion scene XML and triggering them with onSwipe or onClick. ConstraintSets reduce multiple layouts to one file, custom attributes animate filters and colors, and keyframes (for example a keyframe at 50% that doubles scale and rotates 45°) change position and properties mid‑transition. A showPath debug visualizes trajectories. Examples reproduce YouTube‑style fragment transitions and work reliably with built‑in easing.

AI-written summary · about

  1. 0:00Introduction to MotionLayout
  2. 1:13Old animation options on Android
  3. 4:05Why use MotionLayout
  4. 5:11Declarative animation with MotionScene
  5. 8:24Simplifying with ConstraintSets
  6. 9:49Animating any property
  7. 11:14Keyframes for complex animations
  8. 13:43Debugging with showPaths
  9. 14:47When to use MotionLayout
  10. 16:54Tools for MotionLayout
  11. 17:56Key cycles and next steps
  12. 18:58Resources and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.