Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android xxx-hdpi real devices

Tags:

I'm gonna release my app, it's a 1.2Mb apk that includes about 120 icons in 4 different formats (ldpi, mdpi, hdpi, x-hdpi).

If I add xx-dpi and xxx-hdpi icons the apk grows bigger and loading time increases.
There are many entry-level devices out there with really loooow memory and I'd like my app to run everywhere.

Do I really need to add xx-hdpi?

And is there a real device that requires xxx-hdpi?

like image 937
j.c Avatar asked Jan 30 '14 09:01

j.c


People also ask

What is LDPI?

For example, if you have a bitmap drawable that's 48x48 pixels for medium-density screens, all the different sizes should be: 36x36 (0.75x) for low-density (ldpi) 48x48 (1.0x baseline) for medium-density (mdpi) 72x72 (1.5x) for high-density (hdpi)

What is Xxhdpi?

xxhdpi device of 1080 x 1920 pixels (Samsung S4, S5) will be of 360 X 640 dp.

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 Mdpi Hdpi Xhdpi?

Base density for Android is mdpi. All other densities are its appropriate ratios, which is as follows: 0.75x — low-density (ldpi) 1.0x — medium-density (mdpi) 1.5x — high-density (hdpi)


2 Answers

You shouldn't really need xxxhdpi. It was only introduced because of the way that launcher icons are scaled on the nexus 5's launcher

Edit Back when I answered in Jan 2014, the Nexus 5 was the only device using xxxhdpi. Now many devices including the Nexus 6 and LG G3 use it. So it would be a good idea to include it in your app.

like image 133
John Avatar answered Sep 21 '22 13:09

John


We had to add xxxhdpi to our app for the Nexus 6, LG G3, and Samsung Galaxy Note 4. There will be more xxxdhpi devices in the future.

like image 38
ToddH Avatar answered Sep 18 '22 13:09

ToddH