Is there a published size for xhdpi application icons? Or do we just use the hdpi ones at 72x72?
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.
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.
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.
The supporting multiple screens page contains this image:
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With