How can I prevent the activity from redrawing in the new orientation out when the device is tilted? I want the onCreate function to not execute a second time after the activity has been shown.
How can I prevent the activity from redrawing in the new orientation out when
Share
you can fix the screen orientation. Add this to your activity tag in your manifest file: