Easiest way to add landscape Orientation And code in android

你。 提交于 2019-12-05 21:47:15

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 file into your file structure AND also opens it in code & preview.
Check the image below...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!