title: A way to check if it is in the landscape or portrait mode in Xamarin.Android
body: <p>I'm using  C# in Visual Studio 2017 and Xamarin.Android (not Xamarin.Forms) in my project. To be clear, I'm using "Cross Platform App(Xamarin)" and not using "Class Library (Xamarin.Forms). I want it to work on both IOs and Android.</p>
  
  <p>My problem is I want to program my app to look like   ^ ^ in landscape mode and &lt;
  ^  in portrait mode(please look at it like it is in portrait mode). Basically I want to rotate the first one and put it on top, and doesn't wanna change the second one and put it on the bottom. </p>
  
  <p>I searched for a way that how to check if it is in the landscape or portrait mode. Everything that I found in the forums suggest me to use a function that is in Xamarin.Forms, even Xamarin University itself. But I cannot create a new project and carry each class into it. Is there any way that you know how to check if it is in the landscape or portrait mode in Xamarin.Droid?</p>