I wanna disable the automatic slide in from right to left animation/transition. All new intents/activities in my app are supposed to have no animation.
How can this be achieved?
I wanna disable the automatic slide in from right to left animation/transition. All new intents/activities in my app are supposed to have no animation.
How can this be achieved?
You can disable the windowAnimations from code through calling:
getWindow().setWindowAnimations(0);
in every activity that you want to disable the animations in.
This looks a bit hacky because it will set the animation to some resource id that i hope does not exist and then you are relying on the system no to crash. It works fine in one of my applications but it is not documented that it always will and should work this way. So try it and do your own tests and be aware of this.