So today I tested my game on a Galaxy Note3. I have set the game orientation to sensor landscape. While it first appeared fine, I noticed that if I press the home button and then re-enter the app, the draw area gets squashed into about half the length of the screen. The ‘fix’ was to flip around the phone so to refresh the orientation which caused the game to render correctly again, but this didn’t always work and sometimes it would just remain stuck like that (screenshot attached). Any ideas how to fix this?
In Activity1.cs
LaunchMode = Android.Content.PM.LaunchMode.SingleTask
ScreenOrientation = ScreenOrientation.SensorLandscape
And in Game1.cs
_graphics.SupportedOrientations = DisplayOrientation.LandscapeLeft | DisplayOrientation.LandscapeRight;
I am guessing that MonoGame has made the game turn into portrait mode since as you can see in the screenshot, many UI elements are not visible and the wide play button is squashed. The visible part is the bottom half of the UI and the upper is offscreen. So basically this is portrait orientation in a sideways fashion…