How to allow only album / portrait for tablets

I would like to enable screen orientation changes for my application only on tablets, restricting only the phoneโ€™s layout to just the portfolio. How do you do this?

+4
source share
1 answer

Anyway, please read this . This should give you an idea of โ€‹โ€‹how to do this. The <supports-screens> allows you to declare which screens you need to support. However, if you read this , it will give you an idea of โ€‹โ€‹the orientation of the screen.

Hope this helps.

+2
source

Source: https://habr.com/ru/post/1396980/


All Articles