How can I disable landscape mode for some of the views in my Android app?
If you are using Xamarin C# some of these solutions will not work. Here is the solution I found to work.
[Activity(MainLauncher = true, Icon = "@drawable/icon", ScreenOrientation = ScreenOrientation.Portrait)]
Above the class works well, similar to the other solutions, also not globally applicable and needs to be placed in each activity header.