Tag related with Android animation effects between screens or scenes
Questions tagged [android-transitions]
739 questions
7
votes
2 answers
How to specify TransitionManager.beginDelayedTransition to affect only direct child views
I am trying to use a ConstraintLayout in conjunction with views that slide up and down with animation.
These views are organized vertically, with a RecyclerView at the top and two other views stacked under it:
[ …

Shadow
- 4,168
- 5
- 41
- 72
7
votes
0 answers
TransitionListener callbacks not called when there is nothing to change
I'm animating between scenes using the TransitionManager and constraint sets using the following code.
val transition = AutoTransition()
transition.addListener(object : Transition.TransitionListener {
override fun onTransitionEnd(transition:…

Longi
- 3,913
- 2
- 28
- 38
7
votes
1 answer
How to set explode transition with xml file
I'm trying to setEnterTransition with explode.xml file.
i tried this

MJakhongir
- 2,101
- 2
- 16
- 27
7
votes
1 answer
Is there an equivalent of Hero iOS for Android?
There is a great transition library for iOS called Hero (https://github.com/lkzhao/Hero)
Does anyone know of a similar library or interface to native options that do like solutions as Hero?

astone26
- 1,222
- 11
- 16
7
votes
0 answers
Coming back for transition fragment shared element gone
In certain View in my app I'm displaying a Fragment with some Omages in a RecyclerView. When an Image is clicked, a new detail Fragment is shown (with an enter and return transition). The problem is when the Back Button is pressed from the details…

IrApp
- 1,823
- 5
- 24
- 42
7
votes
3 answers
ActivityOptionsCompat.makeSceneTransitionAnimation with custom duration
I'm making a scene transition for devices with API level 20+. It is working fine, but I want to set custom duration to make the transition. Is it possible ??
My code:
ActivityOptionsCompat options =
…

Logic
- 2,230
- 2
- 24
- 41
7
votes
1 answer
Android shared element transition, wrong starting position
I have a layout like the one in the picture below
where an orange frame is a HostFragment is built like this:

sergej shafarenka
- 20,071
- 7
- 67
- 86
7
votes
3 answers
Shared Element Transition not working on first load with Picasso
I am trying to load an image from a URL into an ImageView using Picasso.
The image for the shared transition is inside a CardView in a RecyclerView and the second it just in a LinearLayout.
The first time the request is made the element doesn't…

Duncan Hoggan
- 5,082
- 3
- 23
- 29
7
votes
1 answer
Shared Element Transition when reopening existing Activity in stack Reorder To Front
I have an Activity A from there I open Activity B, and pass the shared element to it. It animates the transition fine, but when I go back to Activity A and then go to Activity B again which is still in the stack using…

pt123
- 2,146
- 1
- 32
- 57
7
votes
0 answers
Cancel Shared Return Transition on Android Lollipop
I was playing around with Lollipop's Activity Transition.
I have a button in Activity A which when clicked calls Activity B. In the Activity B, I am overriding onBackPressed() and calling finishAfterTransition()
Activity B just has two relative…

Manu Joseph
- 155
- 1
- 13
7
votes
0 answers
Directions of explode transition between fragments
I've implemented a transition between two fragments with an explode animation (Standard google transition -> http://goo.gl/tE5xzl). Is there any opportunity to set the direction of the explosion?
The problem is, when I pop the backstack to my…

Mann
- 661
- 5
- 9
7
votes
3 answers
Has anyone successfully used setExitTransition on L?
I've been trying to use the new fancy animations that come with the L developer preview, but I'm having a lot of difficulties. In particular, I am not seeing any fancy animations. I'm trying to use the Explode exit transition. Here's the…

Alex Sullivan
- 562
- 7
- 20
6
votes
1 answer
Android activity back transition brakes when going back 2 screens
I made a simple sample to prove that there is something wrong with ActivityOptions.makeSceneTransitionAnimation(activity).
I got 3 activities: A, B & C.
Flow is simple: A -> B -> C
All activities share the same style: