Can anyone tell me which Drawable does Nexus 6 and Nexus 9 support xxhdpi or xxxhdpi? I also want to whether Nexus 6 supports large- hdpi or anything else?
I searched in google but found no luck?
Thanks.
Can anyone tell me which Drawable does Nexus 6 and Nexus 9 support xxhdpi or xxxhdpi? I also want to whether Nexus 6 supports large- hdpi or anything else?
I searched in google but found no luck?
Thanks.
from http://android-developers.blogspot.com/2014/10/getting-your-apps-ready-for-nexus-6-and.html
Nexus 6 has a quantized density of 560 dpi, which falls in between the xxhdpi and xxxhdpi primary density buckets.
For the Nexus 6, the platform will scale down xxxhdpi assets, but if those aren’t available, then it will scale up xxhdpi assets.
drawable-xxxhdpi/ # Higher resolution assets for Nexus 6
The Nexus 9 is a premium 8.9” tablet with a screen size of 2048 x 1536 pixels (288 ppi), which translates to 1024 x 768 dip. This is a 4:3 aspect ratio, which is unique compared to earlier tablets. The Nexus 9 falls into the xhdpi density bucket, and you should already have assets in the drawable-xhdpi folder.
drawable-hdpi
folder, and seeing whether the image appears. [I believe it always will, if it can find the image in any folder.] If so, then the Android version you are testing with "pre-scales it" for the device (as it reads resource into memory). OR if you really want to supply just one version of an image, put it in drawable-nodpi
, and let Android scale it "at run-time" (as it draws that page). –
Thermion Nexus 6 is under the xxxhdpi device category just like the Nexus 6P, Nexus 9 comes under the xhdpi category.
560dpi
density. –
Thermion drawable-560dpi
folder, in practice the result is what you say.) –
Thermion © 2022 - 2024 — McMap. All rights reserved.