~/talk

Using ConstraintLayout in Compose

Talkat droidcon San Francisco 2022 · 2022-06-02..06-03· [android, web-animation]
github:jafu888
slides:none on file

ConstraintLayout Compose 1.0 brings view‑system ConstraintLayout and MotionLayout concepts into Compose, letting code swap declarative constraint set objects and animate between them using the MotionLayout engine; a calculator demo runs about 10 distinct states and transitions smoothly. Tooling accepts a JSON motion scene string for live edits, supports onSwipe, keyframes, generators and list generate rules, and a tiny desktop inspector (≈1MB jar) connects to a device to modify layouts live. All demos and source code are on GitHub and run successfully.

AI-written summary · about

  1. 0:00Introduction to ConstraintLayout
  2. 1:52Why use ConstraintLayout in Compose
  3. 6:07Getting started with ConstraintLayout
  4. 10:03Animating layouts with ConstraintLayout
  5. 11:48Introducing MotionLayout
  6. 13:12MotionLayout JSON structure
  7. 16:22Debugging MotionLayout in Studio
  8. 21:44Live editing with MotionLayout
  9. 24:50Building custom components
  10. 29:25MotionLayout for components
  11. 31:38Full app demo with MotionLayout
  12. 32:42Carousel animation in Compose
  13. 34:28Current status and future
  14. 37:24Q&A and closing
~/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.