1

android animating switching between activities - windows order

view story
linux-howto

http://stackoverflow.com – I'm following this how to DevBytes: Window Animations to implement translation as an animation when switching between activities. Everything is working fine except animation when user presses back button from SUBACTIVITY to go to MAIN ACTIVITY. When MAIN ACTIVITY slides in it is under the SUBACTIVITY and i would like it be on top of it. I use overridePendingTransition() to create animation when user goes back to MAIN ACTIVITY. overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_right); slide_in_right.xml: <?xml version="1.0" encoding="utf-8"?> <set xmlns:android=" (HowTos)