Those are two distinct things: screen size bucket (small/normal/large/xlarge) vs. screen pixels per inch density (ldpi/mdpi/hdpi/xhdpi).

drawable-xhdpi is for images at 320dpi. If your tablet has 160dpi (a typical 1280x800, 10" tablet), Android will take the xhdpi images (lacking others) and scale them down by a factor of 160/320, that is, make them half the original size.

drawable-xlarge is for images at 160dpi, targeting xlarge screens. Running on a typical 1280x80 10" tablet, those don't need any resizing and are used as is.

-- Kostya

24.02.2012 16:39, technodHr пишет:
hello there,
i am working on a app that need to support tablets and for that i am
keeping image resource under drawable-xhdpi it shows small images but
if i rename the folder to drawable-xlarge it shows me big images can
anybody explain this behavior?


--
Kostya Vasilyev

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to