我们可以DisplayMetrics.densityDpi用来获得设备的近似dpi值,但我很想知道如何获得精确的dpi值?
DisplayMetrics.densityDpi
android dpi
android ×1
dpi ×1