Possible to lock orientation by given screen size? Locking orientation at runtime?

No replies
dompardoe
User offline. Last seen 1 year 31 weeks ago. Offline
Joined: 9 Jan 2013

Hi,

In my app I'd like to be able to support portrait mode for smaller screens, and landscape / portrait for larger screens.

I can't do this by handling rotation myself - at times the software keyboard is used ( which needs to rotate with the screen, obviously )

Ideally i'd like to lock the orientation at runtime given my own conditions.

Is this possible? Many thanks!

Dom