How to allow both landscape/portrait for tablets only

喜欢而已 提交于 2019-12-10 17:04:23

问题


I would like to enable screen orientation changes for my application in tablets only, while restricting the layout in phones to portrait only. How do you do this?


回答1:


In any case, please read this. It should give you an idea as to how to go about it. The <supports-screens> tag allows you to declare what sort of screens you want your app to support. However, if you read this, it'll give you an idea about screen orientation.

Hope this helps.



来源:https://stackoverflow.com/questions/9324561/how-to-allow-both-landscape-portrait-for-tablets-only

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