Forcing Portrait mode in an Android Xamarin application
Ensuring your Xamarin application runs in a specific screen orientation couldn’t be simpler. In your MainActivity class simply add the following to the [Activity()] Activity attribute. ScreenOrientation.Portrait or ScreenOrientation.Landscape So that the Activity Attribute looks something like this Simple.