views:

5

answers:

0

Every time I rotate the Android Emulator from Portrait to Landscape or Landscape to Portrait, it always goes back to the main.xml (home) screen in my app. I'm sure this is an easy code to write in or add. Please let me know how I can keep the screen on the exact page in the app that it's already on when I rotate the emulator.

Basically, if I'm 3 or 4 pages inside the app and decide to rotate it, I don't want it to go back to the main.xml page, but stay on the page I'm currently on.

Thanks, Matt