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

wangqi060934
  • 1,552
  • 16
  • 23

2 Answers2

8

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.

Kai
  • 15,284
  • 6
  • 51
  • 82
-3

Nexus 5 is XXHDPI device.These device DPI are around 440. So, Google Nexus 5 need to add a 144*144px icon in the drawable-xxhdpi folder.

jww
  • 97,681
  • 90
  • 411
  • 885
Md Abdul Gafur
  • 6,213
  • 2
  • 27
  • 37