Questions tagged [android-transitions]

Tag related with Android animation effects between screens or scenes

739 questions
9
votes
3 answers

Another activity comes up and covers half the screen size

I have a button which on clicking opens another activity which comes up from below and covers half the screen. I searched about it but did not get any useful approach except the overridePendingTransition function which is useful in getting the…
9
votes
2 answers

Shared Element Transition into a View in a RecyclerView, possible?

In view of normal Lollipop transition of Activity having shared elements, e.g. https://github.com/codepath/android_guides/wiki/Shared-Element-Activity-Transition, it is quite common one is transitioning from a View from a Recycler View into a normal…
9
votes
2 answers

Problems with Fragment enter transition

I'm using a device running on Android 5.0, the minSdk is 21 and the targetSdk is 22. App description I'm on an app with 2 activities, activity A contains a GridView with pictures and text and activity B contains one ImageView, one TextView and a…
9
votes
4 answers

Android transition animation is not working

Android transition is same for explode and slide.Actually I don't think its animating. Also duration is not 6 seconds. How can I fix it? Code taken from here. public class MainActivity extends Activity { @Override protected void…
jason
  • 3,932
  • 11
  • 52
  • 123
8
votes
0 answers

BottomSheetDialog Fragment Shared Elements transitions implementation?

I have a RecyclerView in a fragment with an item list. So when I click an item, a BottomSheetDialog opens. There are some views common for both of the views. So I thought to add shared transitions to this. I search StackOverflow, but I didn't find…
8
votes
3 answers

Transition blink after orientation change

UPDATE Ive opened a bug with Google https://issuetracker.google.com/issues/63663775 I am attempting to employ makeSceneTransitionAnimation within my current Android Application. I have a Source Activity, that contains a Fragment, and within the…
8
votes
3 answers

Android shared element transition from splash screen to main activity

My application displays a splash screen for 1 second before displaying the main activity. Both the splash screen and main activity share a common image that is required to animate from the center of the splash screen to the top of the main activity…
8
votes
2 answers

Screen flicker while fragment transition

Here is the link to recording while pressing back button While i am using a animation in a fragment transaction it's working fine but i am getting a flicker of the next screen which is annoying me. I have been searching for it since 2 days no…
Milind Chaudhary
  • 1,632
  • 1
  • 17
  • 16
8
votes
0 answers

Android Shared Element Transition with Rotation, possibly broken?

(See updates after code.) I have a screen with a rotated View that I want to transition, ideally using the built-in shared element transition feature of Android, to another screen. However, the animation that results when the rotation of the View is…
lilbyrdie
  • 1,887
  • 2
  • 20
  • 24
8
votes
2 answers

Dynamic scale animation on replacing Fragment

I want to replace a fragment with animation but it has to be dynamic every time, i.e. it will start from the point where I will click on the screen but fragmentTransaction.setCustomAnimations method uses the predefined animation defined in anim…
8
votes
3 answers

Shared elements overflow navigation bar in transition animation

While activities transit one to other, shared elements, which place over the screen in new activity, overlay navigation bar, as shown on picture Also you can see this bug in video view overlay navigation bar
Sergei Vasilenko
  • 2,313
  • 2
  • 27
  • 38
8
votes
0 answers

Can shared element transitions work for fragments in different containers?

I want to implement the shared element transitions in my app for Android Lollipop. After I have read the documents, the SO questions and some posts I decided to give it a go, but now I got a problem. The scenario is I have two fragment containers…
7
votes
1 answer

Failed to retrieve removeGhost method

I'm putting in place the Android Navigation Component in my app. Some transitions work fine, but for this one I have an error. The transition view, from fragment A, stay on the new fragment (B) and hide some elements. Moreover, when I scroll in the…
7
votes
3 answers

Fade in, fade out not working in MotionLayout

I'm trying to make an effect of fade in, fade out using alpha and motionLayout, but it seems that it's not working. This is the imageView that I want to fade.
7
votes
2 answers

Android Navigation Component with Transition from Drawerlayout

Is it possible to change the transition effect from opening a fragment from a drawerlayout with the android navigation component. There is nothing in the android docs.