Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Android Transitions
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Bryan Herbst
December 11, 2014
Programming
79
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
990
Android App Architecture & Navigation
bherbst
0
2.2k
What's in the Android Toolbox
bherbst
0
570
Gradle Deep Dive
bherbst
2
2.2k
Actions with Google
bherbst
0
1.5k
Android Transitions
bherbst
0
580
Databinding in Android
bherbst
0
490
Activities Vs. Fragments
bherbst
0
400
Other Decks in Programming
See All in Programming
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.2k
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
460
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
600
Security issues being discussed on Web Platforms
petamoriken
0
1.4k
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
9.2k
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
280
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
200
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Are APIs Still Relevant in the AI Era?
soyuka
0
380
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
110
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
400
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
520
Accessibility Awareness
sabderemane
1
230
The SEO Collaboration Effect
kristinabergwall1
1
580
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
KATA
mclloyd
PRO
35
16k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
A Tale of Four Properties
chriscoyier
163
24k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Everyday Curiosity
cassininazir
0
340
How to Think Like a Performance Engineer
csswizardry
28
2.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
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();