android DPI与分辨率的关系及计算方式
Low density (120), ldpi | Medium density (160), mdpi | High density (240), hdpi | Extra high density (320), xhdpi | xxhdpi (320) | |
小屏幕 | QVGA (240x320) | 480x640 | |||
正常屏幕 | WQVGA400 (240x400) | HVGA (320x480) | WVGA800 (480x800) | 640x960 | |
WQVGA432 (240x432) | WVGA854 (480x854) | ||||
600x1024 | |||||
大屏幕 | WVGA800** (480x800) | WVGA800* (480x800) | |||
WVGA854** (480x854) | WVGA854* (480x854) | ||||
600x1024 | |||||
非常规屏幕 | 1024x600 | WXGA (1280x800) | 1536x1152 | 2048x1536 | |
1024x768 | 1920x1152 | 2560x1536 | |||
1280x768 | 1920x1200 | 2560x1600 | |||
手机DPI计算方式:dpi = 对角线/4 |
在使用真机调试时可比对此表进行UI元素的计算