I built an application with quite a few activities and I would like to have “slide from right on enter/slide from left on exit” transitions between them.
I read more than once that slide transitions should be the Android default, but on the device I am developing on the transitions are fade in/fade out by default (Galaxy Tab 2 7″, on ICS 4.0).
Is there anything I need to declare at application level, for example in the manifest file?
I am asking because otherwise I would need to add overridePendingTransition (R.anim.right_slide_in, R.anim.left_slide_out); to all my transitions which are plenty…just wondering if I am missing something before going that road.
Many thanks
No answers…on the devices 4+ I tried, the animation is a fade-in fade-out with zoom in or out…
I added the code manually where I wanted to have the slide animation:
xml animation right to left:
xml animation left to right: