在Smallest width由制造商配置的,因此它可以改变.例如,Nexus 7和Kindle Fire HD都有1280x800的屏幕分辨率,但N7的最小宽度为600dp,而Kindle Fire HD为533dp.
这是一种计算方法:
If 480x800 is mdpi(160) for 5 inch device, the screen dpi(screenDPI) of the device with resolution 1080X1920 is 160*(1080/480)=360 (NOTE: manufacturer might change this number). Then the smallestWidth = 1080/(screenDPI/160).
使用" 配置"查找设备的所有信息.
| 归档时间: |
|
| 查看次数: |
16672 次 |
| 最近记录: |