Easiest way to add landscape Orientation And code in android
I am new in android and want to know how to add landscape mode in android can anyone tell me about the easiest way to do that. I'm looking for a way that is very simple. If you have this kind of question check the answer below. thanks.... I have a simplest way to add a landscape mode (add landscape folder , landscape xml file and code) in android studio . You just have to click one or two times to do that. when you are in xml file opened look at the right there is a preview panel that show your device click the button and click on switch to layout-land . It Automatically adds layout_land.xml