I have a navigation bar at the bottom with icons. When I click on an icon a new Activity Starts with intent.
context.startActivity(intent1.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP));
Like this. If I test it on my Android Pixel emulator the Animation is always from bottom to top when a new activity starts. If I test it on my physical android device (Android 7.1) the animation is always from right to left when a new activity starts. When I close an activity the animation goes from left to right away.
I want always this slide animation (like on my physical device). What do I have to do?
In the onCreate() of the activites, so I have the slide when the activity starts, but no slide animation when the activity close.
Thanks for your help
Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered