author | daisy.skye的博客_CSDN博客-嵌入式,Qt,Linux领域博主 |
密度 | ldpi | mdpi | hdpi | xhdpi | xxhdpi |
分辨率 | 240x320 | 320x480 | 480x800 | 720x1280 | 1080x1920 |
系统dpi | 120 | 160 | 240 | 320 | 480 |
基准比例 | 0.75 | 1 | 1.5 | 2 | 3 |
adb 查看屏幕分辨率、基准比例
PS C:\Users\daisy> adb shell
P3:/ $ wm size
Physical size: 240x320
P3:/ $ wm density
Physical density: 120
P3:/ $ adb shell getprop ro.sf.lcd_density
/system/bin/sh: adb: not found
127|P3:/ $ getprop ro.sf.lcd_densityda
120C:\Users\daisy>>adb shell
shell@P3C:/ $ wm size
Physical size: 320x240
shell@P3C:/ $ wm density
Physical density: 120