AndreiBogdan
AndreiBogdan

Reputation: 11164

Android. xhdpi folder

So, you can add 3 types of images inside individual folders, drawable-ldpi, -mdpi and -hdpi, from which Android picks the proper image depending on each specific device.

My question is, what about xhdpi? The large screens out there. I'm guessing they will use the hdpi, but if i'd like to add another larger image for those screens, should i add another folder inside the "res" directory, named drawable-xhdpi? Will Android know to pick the image from this folder?

Or how is it done in case of xhdpi?

Upvotes: 0

Views: 1481

Answers (2)

Nirali
Nirali

Reputation: 13805

Yes you can create folder in res directory named

drawable-xhdpi

and keep extra large images in this folder. Android will pick images for large screens

Upvotes: 1

Bhargav Panchal
Bhargav Panchal

Reputation: 1179

Yes,Android know to pick the image from this folder.drawable-xhdpi folder is generally for extra large image or high resolution image. For more information check this link http://developer.android.com/guide/practices/screens_support.html

Upvotes: 1

Related Questions