kelvin kelvin - 6 months ago 65
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?


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