Additionally, paste this code immediately after the opening tag:

DPI Checker

This is a small and simple developer / QA tool to help you determine what drawable bucket the Android system i...

Free

Store review

This is a small and simple developer / QA tool to help you determine what drawable bucket the Android system is using when picking assets to display.

-----

Why have something like this?

While devices have hardware PPI rating given by the actual pixel count on the screen in relation to the screen size, device vendors can set there custom DPI rating for screens in the Android system.

Using adb shell getprop ro.sf.lcd_density or adb shell dumpsys display will show the system DPI rating.

Some devices fall between 2 different drawable buckets and the system decide whether to upscal or downscale a drawable image.

With DPI Checker you'll see what the system choose for the particular device the app runs on.

Use, share, enjoy and feel free to fork on: https://github.com/etgalim/DPI-Checker

Last update

Nov. 30, 2019

Read more