~/talk

Moving to MotionLayout

Talkat droidcon NYC 2019 · 2019-08-26..08-27· [android, web-animation]
slides:none on file

MotionLayout becomes a declarative, seekable layer on top of ConstraintLayout using a MotionScene XML file to define start/end constraint sets, onSwipe triggers and custom attributes (e.g. animating color via setColorFilter). The demo builds an Android with clouds app, adds keyframes, showPaths and crossfadeed images, and connects MotionLayout with CoordinatorLayout to drive animations by scroll. Transitions stay interactive (seekable transitions), work on API 14+, and generally perform as shown despite minor live-coding hiccups.

AI-written summary · about

  1. 0:00Introduction
  2. 1:54What is MotionLayout
  3. 8:14Limitations of Constraint Sets
  4. 11:06Introducing MotionLayout basics
  5. 17:10MotionLayout XML setup
  6. 24:55Custom attributes and color changes
  7. 28:53Debugging with show paths
  8. 31:00Key frames and key positions
  9. 35:31MotionLayout as complement
  10. 37:15Combining with CoordinatorLayout
  11. 40:47Practical tips and resources
  12. 41:28Q&A
~/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.