I am writing an application that allows users to select various things on the screen. On large 10 inch screens this looks best in landscape so I force landscape in the manifest file.
However, I want to make the application friendly for users of 8 (or 7) inch tablets as well. On these screen sizes the application should be forced in portrait mode.
Does anyone know how I can force the screen orientation depending on the screen size?