Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Android Transitions
Search
Bryan Herbst
December 11, 2014
Programming
0
57
Android Transitions
An exploration of the Transitions framework for animating the transition between two screens
Bryan Herbst
December 11, 2014
Tweet
Share
More Decks by Bryan Herbst
See All by Bryan Herbst
Semantics in Jetpack Compose
bherbst
0
11k
Kotlin Multiplatform
bherbst
0
720
Android App Architecture & Navigation
bherbst
0
2k
What's in the Android Toolbox
bherbst
0
480
Gradle Deep Dive
bherbst
2
1.9k
Actions with Google
bherbst
0
1.3k
Android Transitions
bherbst
0
430
Databinding in Android
bherbst
0
410
Activities Vs. Fragments
bherbst
0
330
Other Decks in Programming
See All in Programming
List とは何か? / PHPerKaigi 2025
meihei3
0
180
Return of the Full-Stack Developer
simas
PRO
1
300
PHPによる"非"構造化プログラミング入門 -本当に熱いスパゲティコードを求めて- #phperkaigi
o0h
PRO
0
930
eBPF Updates (March 2025)
kentatada
0
120
Devin入門と最近のアップデートから見るDevinの進化 / Introduction to Devin and the Evolution of Devin as Seen in Recent Update
rkaga
7
3.1k
複数ドメインに散らばってしまった画像…! 運用中のPHPアプリに後からCDNを導入する…!
suguruooki
0
400
SideKiqでジョブが二重起動した事象を深堀りしました
t_hatachi
0
180
Scala 3 で GLSL のための c-like-for を実装してみた
exoego
1
170
AtCoder Heuristic First-step Vol.1 講義スライド(山登り法・焼きなまし法編)
takumi152
3
950
体得しよう!RSA暗号の原理と解読
laysakura
3
500
データベースエンジニアの仕事を楽にする。PgAssistantの紹介
nnaka2992
8
3.8k
RailsでCQRS/ESをやってみたきづき
suzukimar
2
1.5k
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
298
20k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
The Pragmatic Product Professional
lauravandoore
33
6.5k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
22
2.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.4k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Optimizing for Happiness
mojombo
377
70k
Building Your Own Lightsaber
phodgson
104
6.3k
Java REST API Framework Comparison - PWX 2021
mraible
29
8.5k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Transcript
Transitions Bryan Herbst Senior Software Engineer The Nerdery
What is a Transition? Easy way to animate a
group of Views Animates from one Scene to another Scene Can be used to animate between Activities and Fragments
Scenes Snapshot of a ViewGroup Can be defined
in Java or XML (or let the framework do it)
Making a transition
Making a transition (old) ObjectAnimator anim = ObjectAnimator.ofFloat(mButton, "alpha", 1f,
0f); anim.start();
Making a transition (new) TransitionManager.beginDelayedTransition(mRoot, new Fade()); mButton.setVisibility(View.INVISIBLE);
AutoTransition Fade Move Resize
How it works 1. beginDelayedTransition() => Take a snapshot of
ViewGroup 2. Update Views 3. On next layout pass, Android takes another snapshot and creates animations Note: you can also define Scenes in XML
Activity Transitions
Activity Transitions (API 21) Request Window.FEATURE_ACTIVITY_TRANSITIONS and Window.FEATURE_CONTENT_TRANSITIONS in
both Activities Set a transition name on the View in both Activities Create a Bundle with Call startActivity(intent, transitionBundle); makeSceneTransitionAnimation(activity, sharedView, viewTransitionName).toBundle();