0

i want to clear my all doubts about android multiple screen support. i have searched a lot but not found any solution for it. i can clear my question by giving an example.

first i have a screen 480*800 and i have all image resources used in this screen with relative to this size(480*800). and i have created my layout using wrap_content attribute.

so i want to ask where i put these image resources in drawable hdpi or mdpi or ldpi or x-hdpi. for example if i put these in drawable hdpi then what about other folders and other screen sizes.

i have read all Article on developer's website but i didn't found any solution. or where could i found a complete tutorial whit handling this issue.

Thanks in advance.

2 Answers2

0

PUT THOSE FILES WHICH YOU WANT TO USE FOR ALL TYPE OF SCREEN RESOLUTIONS IN drawable FOLDER , IF YOU WANT TO USE PARTICULAR SCREEN SIZES THE PUT IN hdpi or mdpi or ldpi or x-hdpi , u have to create a folder "drawable" for all common sizes .

0

480 * 800 is a mdpi device. You can can put these image resources in drawable-mdpi if you want the device to auto adjust for smaller and larger screen sizes. If you want these images to be of maximum size you can put it in drawable-xhdpi. If not i.e. if you want same image to be used in all the screen sizes then you can simply put in drawable folder in resource.

For more information you can check this :developer link

Sandeep
  • 2,693
  • 21
  • 27
  • 1
    I'm afraid I **can't agree** with your first sentence:`480 * 800 is a mdpi device.`. If a device is `mdpi` `hdpi` or `xhdpi` not only depends on the resolution, but also depends on the **screen size**. For very normal case, I mean on a phone's screen (`normal` screen size), 800x480 is `hdpi`, not `mdpi`. For example, Nexus One (800x480), its an `hdpi` device. – dumbfingers May 17 '13 at 14:29
  • Sir I'm afraid the Android Developer's Doc can't stand for your `480 * 800 is a mdpi device.`. Or could you please quote the sentence to clear your point of view? – dumbfingers May 20 '13 at 09:55