4
votes

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
Are you aiming to run your app on Tablets only? Or is it also for phones? Can you please throw some more light on your requirements, like if you app runs both on phones and tablets but you want to restrict the orientation changes only to tablet and not to phone, or something of the sort may be?Ghost

1 Answers

2
votes

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.