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
65
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
970
Android App Architecture & Navigation
bherbst
0
2.1k
What's in the Android Toolbox
bherbst
0
540
Gradle Deep Dive
bherbst
2
2.2k
Actions with Google
bherbst
0
1.5k
Android Transitions
bherbst
0
550
Databinding in Android
bherbst
0
460
Activities Vs. Fragments
bherbst
0
360
Other Decks in Programming
See All in Programming
AIプロダクト時代のQAエンジニアに求められること
imtnd
1
510
AIとペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
180
Go1.26 go fixをプロダクトに適用して困ったこと
kurakura0916
0
320
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
410
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
320
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
330
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
230
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
130
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
120
CSC307 Lecture 11
javiergs
PRO
0
580
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
140
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
110
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
0
260
Ethics towards AI in product and experience design
skipperchong
2
210
Design in an AI World
tapps
0
160
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
170
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
360
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Rails Girls Zürich Keynote
gr2m
96
14k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
190
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
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();