Retrieve the following information from the framework: • screen size • screen density bucket • screen dpi • screen logical density • screen scaled density • screen usable width • screen usable height • screen total width • screen total height • screen physical size • default screen orientation • max GPU texture size
How is this different from other apps ? All reported values are taken from the system framework not from a device database. Physical size is calculated and might differ from reality.
So for instance, if you are using a custom dpi of 200dpi on a HDPI device with 240 dpi and a 4.3 inch screen this app will report: • density: MDPI ( instead of HDPI, because of lower custom dpi ) • 1.2 density instead of 1.5 • 4.7 inches physical size ( value is distorted by custom dpi )
This information is usefull when trying to debug density bucket related bugs.