Possible to lock orientation by given screen size? Locking orientation at runtime?
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!