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
62
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
12k
Kotlin Multiplatform
bherbst
0
830
Android App Architecture & Navigation
bherbst
0
2k
What's in the Android Toolbox
bherbst
0
510
Gradle Deep Dive
bherbst
2
2k
Actions with Google
bherbst
0
1.4k
Android Transitions
bherbst
0
480
Databinding in Android
bherbst
0
440
Activities Vs. Fragments
bherbst
0
350
Other Decks in Programming
See All in Programming
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
3
1.4k
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
4
2.7k
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
22
11k
Zendeskのチケットを Amazon Bedrockで 解析した
ryokosuge
3
290
AIでLINEスタンプを作ってみた
eycjur
1
230
Ruby Parser progress report 2025
yui_knk
1
420
[FEConf 2025] 모노레포 절망편, 14개 레포로 부활하기까지 걸린 1년
mmmaxkim
0
1.6k
ぬるぬる動かせ! Riveでアニメーション実装🐾
kno3a87
1
210
Improving my own Ruby thereafter
sisshiki1969
1
160
CloudflareのChat Agent Starter Kitで簡単!AIチャットボット構築
syumai
2
470
Swift Updates - Learn Languages 2025
koher
2
470
Design Foundational Data Engineering Observability
sucitw
3
190
Featured
See All Featured
BBQ
matthewcrist
89
9.8k
Embracing the Ebb and Flow
colly
87
4.8k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
187
55k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
Designing for Performance
lara
610
69k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Typedesign – Prime Four
hannesfritz
42
2.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
Music & Morning Musume
bryan
46
6.8k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Balancing Empowerment & Direction
lara
3
620
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();