Window content transitions explained
summary
Explains how to build a reusable circular‑reveal shared‑element transition by subclassing Transition (override captureStart/end and createAnimator), using ViewAnimationUtils and a no-pause animator workaround, and wiring it via ActivityOptionsCompat with transition names. Covers practical fixes: use postponeEnterTransition + ViewTreeObserver pre-draw for async content, shared element callbacks to map/remap or reject elements, handling orientation and fragments, and shows the implementation working end‑to‑end.
AI-written summary · about
chapters (14)
- 0:00Introduction to transitions
- 1:59Basic transition principles
- 4:05Transition types and pairs
- 5:15Built-in transition types
- 8:05Postponing transitions
- 9:52Fragment transition specifics
- 11:34Shared element callbacks
- 14:02Creating custom transitions
- 19:20Reusable transition setup
- 26:17Less common transition techniques
- 28:23Handling window decorations
- 30:08Orientation change transitions
- 32:22Remapping shared elements
- 35:23Q&A session
related talks
27mA window into transitions
48mSmooth transitions to Android - how and why to do this?
29mMaking Beautifully Animated Transitions
40mTransitions without Activities or Fragments
49mFancy Custom Transitions
41mA Moving Experience
27mAnimate All the Things! (With View Transitions API)
04mIntuitive Web Experiences with the View Transitions API
