kelvin kelvin - 1 year ago 105
Java Question

How to change screen on rotation

I would like to change the View(to new xml with activity) when I rotate the screen on android studio.

Is there anyway I can do this?

Answer Source

Create a layout-land directory and put the landscape version of your layout XML file in that directory.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download