I am trying to read the screen size using DeviceMetrics, but it gives me a scaled size, not the actual screen size.
How can I read the actual screen size in compatibility mode?
For example, the application runs on a 480x800 screen.
But it gives me 400x700, due to compatibility mode.
source share