Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.
This repository was archived by the owner on May 15, 2024. It is now read-only.

Can't get screen real size #745

@kakone

Description

@kakone

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions