Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android xhdpi icons

Tags:

android

Is there a published size for xhdpi application icons? Or do we just use the hdpi ones at 72x72?

like image 938
iterator Avatar asked Feb 19 '11 00:02

iterator


People also ask

What is DPI Android app?

DPI (Dots per Inch) is a value that Android uses to determine the ideal size of images and app icons to show on the screen. This value can be changed to get a larger, zoomed-in display or smaller display as per your needs.

What is the normal dpi for Android?

In Android, we have a baseline density of 160 dots-per-inch(dpi). One is 400*640 pixels, 160 dpi and another is 800*1280 pixels, 320 dpi. Now, if we convert this in density-independent pixels, we have the same size of 400*640 dpi. This makes us design a single layout for both the screens.

What is the resolution of Android icons?

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

The supporting multiple screens page contains this image:

enter image description here

the image shows that every assets for xhdpi has two times the size of a mdpi asset.

Also Hackbod gave an answer in the Google Groups

XHDPI_SIZE = (HDPI_SIZE) * (XHDPI_DENSITITY / HDPI_DENSITY)
In other words, 2x the mdpi size.
Launcher Icon : 96x96

like image 178
Janusz Avatar answered Oct 23 '22 18:10

Janusz