Questions tagged [android-transitions]

Tag related with Android animation effects between screens or scenes

739 questions
0
votes
2 answers

Fragment Content Transition

I'm trying to preform a simple transition. I've added this to the onCreate method of my Fragment. I've looked over the FragmentTransaction documentation but I don't see anything I need to specify when I'm adding it to the activity. I get no effect…
0
votes
1 answer

FragmentTransaction and Animation with a class that extends Fragment

So in a layout I have three buttons, for control flow I am using a switch to determine what behavior occurs when each button is clicked. My problem is, I want a fade transition to take over the default transition when each button is clicked to go to…
0
votes
1 answer

Lag with simple shared-element-transition using Glide

I have a very simple transition between two activities, and sometimes, the image stops in middle, lags, flashes a black color. I have used shared-element-transitions many times with Glide, but I can't make it not lag this time. this is the first…
Luca Pellizzari
  • 324
  • 4
  • 12
0
votes
0 answers

ItemDecoration make wrong transition

When I use Shared Element Transitions and ItemDecoration with recyclerview,animation when onBackPress make same size imageview but each one of them take CENTER_CROP at different point ,it produces about 1 centimeter movement after end…
David
  • 27
  • 6
0
votes
1 answer

Interpolator vs Animations vs Transitions

I'm researching a lot about android animations and material design and now I a little confused about the concept of each "animation type". From Android developers site: Animations Animations can add subtle visual cues that notify users about what's…
guisantogui
  • 4,017
  • 9
  • 49
  • 93
0
votes
1 answer

transitions when loading a fragment to an activity

I know there are ways of transitioning from activity to activity and fragment to fragment, but I'm wondering if you can use transitions (i.e. shared elements) when loading a fragment into an activity?
0
votes
1 answer

finishAfterTransition() not working properly

In my app I want the passage from Activity A to Activity B to be animated. In particular, I want the Activity A to slide out and Activity B to fade in when clicking on a button, and, when clicking the back button, Activity B to fade out and Activity…
paola91
  • 339
  • 1
  • 5
  • 14
0
votes
0 answers

How can one know if an activity is started with or without a transition?

I'm re-opening this question because the accepted answer is not really a solution. As per one of the comments says, the transition can start even after the onStart. For what I've tested, it also can start after onResume or even after the…
Eduardo Pinheiro
  • 3,409
  • 3
  • 30
  • 39
0
votes
1 answer

Unmarshalling extras from intent throws an exception but only during onActivityReenter

I just tried to implement onActivityReenter to do a special UI update before the reenter transition runs. I literally took the block for the request code from onActivityResult and split it into 2 parts, one to go into onActivityReenter, the other to…
androidguy
  • 3,005
  • 2
  • 27
  • 38
0
votes
2 answers

Wrong scene size with Scene Animation

In my app, I use a Fragmentin which I want to animate multiple Scenes. In my onCreateView, I create the frame where Scenewill be animated with myView=inflater.inflate(R.layout.my_fragment_layout,null,false). The corresponding layout is :
Zelig63
  • 1,592
  • 1
  • 23
  • 40
0
votes
1 answer

Android custom revel animation over image

I am looking for a reveal animation on top of an image. User clicks on the thumbnail and opens the image in full-screen which looks like (A). i.e, the image is covered. User clicks the button and the image starts to reveal top to bottom. Going…
0
votes
0 answers

Android shared transition from Fragment to parent Activity

how I could do a transition from an ImageView in a Fragment to an ImageView in the parent Activity, where the Fragment is. Background is, that I have just one Activity in my App and a lot of Fragments. So if I change a Fragment to another then I…
deadpoint
  • 433
  • 3
  • 17
0
votes
1 answer

Scene transition removes everything

I am trying to integrate the Draggable panel library with my video playing project, and so far its been working great for my needs. First I set it up so that DraggablePanel is always in my view Root, so that it covers the whole screen when…
M Rajoy
  • 4,028
  • 14
  • 54
  • 111
0
votes
1 answer

Slideable panels with nav drawer like animation

I want to make slideable panels with content lying beneath them. The idea is sort of like this in my mind, but I'm not sure of how to approach this. That triangles in the layer 2 can be used to pull or push (slideable animation). Can anyone drop me…
Ketan Malhotra
  • 1,255
  • 3
  • 16
  • 44
0
votes
1 answer

Understanding basic transitions from Activity to fragment in tabs

I'm making an android application which has a tabs. In one of my tabs I'm going from fragment (say fragment 3) to activity. This is working fine, this activity after completion has to come to the desired tab say fragment 2. Now this is the issue I'm…
Alok
  • 8,452
  • 13
  • 55
  • 93