Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the real size of the launcher icon on nexus 5?

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

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?

Is my method of calculating the size wrong?

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

enter image description here

This is my screenshot: enter image description here

like image 607
wangqi060934 Avatar asked Aug 05 '14 04:08

wangqi060934


1 Answers

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.

like image 186
Kai Avatar answered Oct 16 '22 10:10

Kai