Questions tagged [android-transitions]

Tag related with Android animation effects between screens or scenes

739 questions
0
votes
2 answers

Android: Is there a way to do Activity Transitions if one of the shared elements is in a Fragment? Activity A Fragment to Activity B

I understand that there are Activity Transitions to make transitions for shared elements between Activity A and Activity B like so: ActivityOptions options = ActivityOptions.makeSceneTransitionAnimation(this, Pair.create(view1, "agreedName1"), …
0
votes
0 answers

Transition image in fragment of activity A to fragment of activity B in Android

I have been following these guides [1, 2] to understand more about activity and fragment transitions and animations in Android. My scenario seems to be different to all three examples given, in that I have an within a fragment of my…
0
votes
1 answer

How to slide in 50% Activity?

This is my slide in anim It can slide in MyActivity and stop at 50% But, when the animation is finish, the activity will become 100% of screen, how can I keep it 50%? Update 1: startActivity(new Intent(this,…
CL So
  • 3,647
  • 10
  • 51
  • 95
0
votes
1 answer

Android ensure animation rendered before transition

Im transitioning between 2 activities using overridePendingTransition(R.anim.enter_from_right, R.anim.exit_to_left) My second activity has a frame layout which it then adds a fragment to…
0
votes
1 answer

Override Material Design activity return transition

I'm writing a new version of an old Android app for work, bringing it up to date by using the material design guidelines, icons and effects. I have a login screen as my first activity, in which I've set up an exit transition in the onCreate…
Gareth
  • 5,693
  • 3
  • 28
  • 37
0
votes
1 answer

Activity transitions not animating

I've been learning about material transitions, following this guide. I have a little test app where I'm trying this out. My activity code looks like this: import android.content.Intent; import android.support.v7.app.AppCompatActivity; import…
user5457243
0
votes
1 answer

View disappears when you rotate device after Activity re-enter transition?

• I have two Activities, Activity A and Activity B. • I load Activity B with a Activity A's fade exit transition. • After Activity B is loaded, I rotate the device. • When I hit the back button to go back to Activity A, my toolbar dissappears! My…
mco
  • 1,809
  • 15
  • 31
0
votes
2 answers

How can I deal the flash when I turn back to a Activity has DrawerLayout?

I use A DrawerLayout in ActivityA. I open the Drawer at first. When I click a item on Drawer, I skip to ActivityB. In ActivityB ,I close the Drawer by EventBus. When I click the back button,ActivityB move out,and ActivityA move in. But the screen…
0
votes
1 answer

How to set Layout properly when using Transitions on Android

I am playing with Transitions on Android. I believe I am setting my layout wrong. First, when you arrive I have this kind of layout: Everything is extended from View class. For now I don't put the code, it is 300 lines. Then, when you click on a…
0
votes
1 answer

Changing fragment transitions

I have several fragments, all the fragments has entering & exit from left to right. I received a new requirement that several fragments will have different exit transitions while the previous fragment will be static(won`t have transition). Like in…
Anton Makov
  • 825
  • 2
  • 9
  • 25
0
votes
0 answers

Slide in animation immediately after shared element transition is done

I have two main activities - a list view (using the RecyclerView), and a detailed page. Each item in the list has a small image, and when clicking on an item in the list, I have an animation (using a shared element transition) that makes the image…
gillyb
  • 8,760
  • 8
  • 53
  • 80
0
votes
1 answer

Transition in ListView to replace all elements

I have a ListView that displays a list of states. Whenever the user selects a state, I will load a list of cities that are in this state. For this, I have a manager that, whenever an item is selected, will replace the underlying list that my custom…
Koitt
  • 1,072
  • 1
  • 8
  • 23
0
votes
1 answer

Android ViewPager with PageTransformer looses it's Z-index

I have a question regarding crossfading on a viewpager where I have objects that depends on their z-layer. I found this topic OnPageChangeListener alpha crossfading which provides the exact solution that I'm after except that the z-layers are…
peuhse
  • 1,688
  • 2
  • 20
  • 32
0
votes
1 answer

Unable to start Android activity with animation

I have three layout files. Shared Flight Item is used in Simple Flight Item and Detailed Flight Item. On clicking the simple flight item in a fragment hosted in activity A, I'm starting activity B that hosts a viewpager that holds the detail…
0
votes
3 answers

Support Fragment Push Pop Animation

I am using v4 Support fragment in my application with AppCompatActivity. loginUserFragment = new FragmentLoginUser(); mFragmentTransaction = CommonUtils.getFragmentLRTransaction(this); mFragmentTransaction.add(R.id.fragmentContainer,…