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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Bryan Herbst
December 11, 2014
Programming
70
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Android Transitions
An exploration of the Transitions framework for animating the transition between two screens
Bryan Herbst
December 11, 2014
More Decks by Bryan Herbst
See All by Bryan Herbst
Semantics in Jetpack Compose
bherbst
0
13k
Kotlin Multiplatform
bherbst
0
980
Android App Architecture & Navigation
bherbst
0
2.1k
What's in the Android Toolbox
bherbst
0
550
Gradle Deep Dive
bherbst
2
2.2k
Actions with Google
bherbst
0
1.5k
Android Transitions
bherbst
0
570
Databinding in Android
bherbst
0
470
Activities Vs. Fragments
bherbst
0
380
Other Decks in Programming
See All in Programming
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
200
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.2k
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
510
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
120
Modding RubyKaigi for Myself
yui_knk
0
900
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
630
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
340
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
550
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
220
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
150
LLM Plugin for Node-REDの利用方法と開発について
404background
0
160
Lessons from Spec-Driven Development
simas
PRO
0
150
Featured
See All Featured
The Curse of the Amulet
leimatthew05
1
13k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Music & Morning Musume
bryan
47
7.2k
My Coaching Mixtape
mlcsv
0
140
[SF Ruby Conf 2025] Rails X
palkan
2
1.1k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
160
The SEO identity crisis: Don't let AI make you average
varn
0
480
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
210
Leo the Paperboy
mayatellez
7
1.8k
Building an army of robots
kneath
306
46k
New Earth Scene 8
popppiees
3
2.3k
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();