Tyler
Tyler

Reputation: 19848

How to allow both landscape/portrait for tablets only

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?

Upvotes: 4

Views: 2006

Answers (1)

Ghost
Ghost

Reputation: 3966

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.

Upvotes: 2

Related Questions