如何让平板电脑这两个横向/纵向只

问题描述:

我想实现我只在平板电脑应用程序屏幕方向变化,而只在手机限制布局画像。你怎么做到这一点?

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?

在任何情况下,请阅读的这个。它应该给你一个想法,如何去做。在<支持屏> 标签允许你声明你希望你的应用程序支持什么样的屏幕。但是,如果你看过,它会给你一个想法有关屏幕方向。

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.

希望这有助于。