FHD(全高清)是1920*1080。
哪个res文件夹将在fhd中使用,应该设置什么dpi值?

最佳答案

Smallest width由制造商配置,因此可能会有所不同。例如,Nexus7和KindleFireHD都有1280x800的屏幕分辨率,但N7的最小宽度是600dp,而KindleFireHD是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).
使用Configuration查找设备的所有信息。

10-06 03:01