Viewing the Graphical Layout Landscape Android

只谈情不闲聊 提交于 2019-12-11 11:15:57

问题


I have been trying to develop an application in a landscape mode so I placed "android: screenOrientation="landscape" in my Manifest. It worked well, however, the graphical layout of my xml files are still not in landscape mode so I cannot design my UI well. Any help? Thanks


回答1:


Follow below screenshot




回答2:


you should design separate UI for landscape mode and put in layout-land folder. check this link

go to res folder in your project, and create a new folder in it name it as layout-land



来源:https://stackoverflow.com/questions/7978931/viewing-the-graphical-layout-landscape-android

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