我是新来的android
并想知道如何添加landscape
模式在android
谁能告诉我最简单的方法。我正在寻找一种非常简单的方法。
如果您有此类问题,请查看下面的答案。
谢谢....
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...
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)