You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2024. It is now read-only.
In Android, with DeviceDisplay.MainDisplayInfo, I can't get the real screen size (without navigation controls). It would be nice to have another property (like RealSizeDisplayInfo) that returns the real size by calling service?.JavaCast<IWindowManager>()?.DefaultDisplay.GetRealMetrics(outMetrics);
Steps to Reproduce
Just look at DeviceDisplay.MainDisplayInfo, it doesn't return the full screen real size.
Expected Behavior
Either return the real size of the screen, or have another property to get that real size.
Actual Behavior
It returns the screen size less the navigation controls size.
Description
In Android, with DeviceDisplay.MainDisplayInfo, I can't get the real screen size (without navigation controls). It would be nice to have another property (like RealSizeDisplayInfo) that returns the real size by calling
service?.JavaCast<IWindowManager>()?.DefaultDisplay.GetRealMetrics(outMetrics);Steps to Reproduce
Just look at DeviceDisplay.MainDisplayInfo, it doesn't return the full screen real size.
Expected Behavior
Either return the real size of the screen, or have another property to get that real size.
Actual Behavior
It returns the screen size less the navigation controls size.