Flo
Flo

Reputation: 23

Use xxhdpi images for xlarge layout

I created an Android app with a normal and a large layout. Now I want to create the xlarge layout, but the images are small, though I have them in all resolutions like l,m,x,xx, and xxx. Do I have to store them in double size or can I somehow use the existing ones?

Upvotes: 0

Views: 2349

Answers (2)

SHASHIDHAR MANCHUKONDA
SHASHIDHAR MANCHUKONDA

Reputation: 3322

Use images of 1920x1080 resolotion

for Xlarge use this folder drawable-xlarge-hdpi

for large use this folder drawable-large-xhdpi

for me its working

Upvotes: 1

Sushil
Sushil

Reputation: 8488

Size of the images depend on the screen density of the device.

It goes as mdpi:hdpi:xhdpi:xxhdpi:xxxhdpi -> 1x:1.5x:2x:3x:4x

So, check the screen density for the devices and accordingly keep the images in different folders.

You may use same images and just change the layout, but your image may seem pix elated.

If you dont want system to change you images as per density, you can keep them in drawable-nodpi folder.

This link will give you clear idea:

http://developer.android.com/guide/practices/screens_support.html

http://developer.android.com/design/style/iconography.html

Hope this helps

Upvotes: 0

Related Questions