How to avoid restarting activity when orientation changes on Android
Asked 2010-12-31T06:33:31.867
76
I am creating an Android app in which I'm drawing a view on a canvas. When the device's orientation changes, the activity restarts. I don't want it to.
How can I avoid restarting the activity when the orientation changes?