什么是启动器图标的Nexus 5的实际规模?启动器、图标、实际、规模

由网友(徦情徦噫徦薀柔)分享简介:由于提到的文档,启动器图标是48 * 48dp As the doc mentioned,the launcher icon is 48*48dp.所以我觉得启动器图标应该是144 * 144px对我的Nexus 5结果但是,我研究我的Nexus 5的截图,我发现这几乎是166 * 163px。结果为什么它比144...

由于提到的文档,启动器图标是48 * 48dp

As the doc mentioned,the launcher icon is 48*48dp.

所以我觉得启动器图标应该是144 * 144px对我的Nexus 5结果但是,我研究我的Nexus 5的截图,我发现这几乎是166 * 163px。结果为什么它比144 * 144px更大?

So I think the launcher icon should be 144 * 144px on my nexus 5. But I research a screenshot of my nexus 5,I find it's almost 166* 163px. Why it's bigger than 144*144px?

(P.S与在绘制-xxhdpi文件夹中的144 * 144px图标的应用程序也显示166在发射* 163px)。

(p.s. an app with a 144*144px icon in the drawable-xxhdpi folder is also shows 166* 163px in the launcher.)

这是我的截图:

This is my screenshot:

推荐答案

按照信息有人在谷歌工作的提供,Nexus 5的发射器采用在未来的DPI斗启动器图标,即在Nexus 5将使用一个DPI斗起来XXHDPI - > XXXHDPI,这使得图标192x192。之所以你的测量值小于192是因为启动器图标的图形是不应该填满整个图像。

Per the info provided by someone working at Google, Nexus 5's launcher uses the launcher icon in the next DPI bucket, i.e. on Nexus 5 it will use one DPI bucket up XXHDPI --> XXXHDPI, which makes the icon 192x192. The reason why your measurement is less than 192 is because the launcher icon graphics is not supposed to fill the whole image.

阅读全文

相关推荐

最新文章