Issue
I was wondering if anyone knows a simple way to get the height and width of an android screen size using c# in Xamarin. I need to get the screen size so that I can use it in one of my adapter classes. I have tried using the display and the IWindowManager but without success. Any help or a point in the right direction would be much appreciated. Thanks in advance!!
Solution
The answer that worked best for me was using
var metrics = Resources.DisplayMetrics;
Thank you all for your help!
Answered By - Aaron B
Answer Checked By - Marilyn (JavaFixing Volunteer)