Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The correct icon size for Android Adaptive Icons

What are the image dimensions for a Android Adaptive Icon in Android O for the size xxxhdpi? You now have a foreground layer image and a background layer image.

Is the solution to simply use two images of 192x192 pixels?

like image 566
Ruud Avatar asked Aug 11 '17 16:08

Ruud


People also ask

What is best size for Android app icon?

On Android devices, launcher icons are generally 96×96, 72×72, 48×48, or 36×36 pixels (depending on the device), however Android recommends your starting artboard size should be 864×864 pixels to allow for easier tweaking.


1 Answers

From the official doc:

Both layers must be sized at 108 x 108 dp.

Adaptive icons support SVG (VectorDrawable). So you can just provide two SVG of dimensions 108 x 108 dp for foreground and background layers.

If you want to use PNG images, you have to calculate the dimensions for other densities.

So for xxxhdpi: 108 * 4 => 432 x 432 pixels.

You can use any dp/px calculator to calculate for other densities.

like image 59
Bob Avatar answered Oct 10 '22 01:10

Bob