"Wouldn't it be better for mdpi to use xhdpi because wouldn't you get 
better quality by just halving the xhdpi resolution?"

Nope, it wouldn't be better. If the images are the same, just scaled 
versions of one particular base-image, lpdi and mdpi devices scale *down *to 
the desired size, which means that you throw away information. If you would 
use a larger image (xhdpi instead of the hdpi version), you'd just throw 
away more information than when scaling down form a smaller image. 

Using the smaller (hdpi) image is better for memory usage, since you won't 
load the larger (xhdpi) image into memory.

On Sunday, October 21, 2012 8:38:18 PM UTC-4, Mark Carter wrote:
>
> So I ran some tests on Gingerbread with drawables only defined for hdpi 
> and xhdpi.
>
> Both ldpi devices and mdpi devices used the hdpi drawables.
>
> Wouldn't it be better for mdpi to use xhdpi because wouldn't you get 
> better quality by just halving the xhdpi resolution?
>
> BTW, currently xhdpi and hdpi collectively cover about 80% of devices:
>
> http://developer.android.com/about/dashboards/index.html
>
> On Friday, October 19, 2012 12:29:14 AM UTC+11, RichardC wrote:
>>
>> I think none of the above but you should read:
>>
>> http://developer.android.com/guide/topics/resources/providing-resources.html#BestMatch
>>
>> and also this is very easy to test just use different coloured bitmaps in 
>> each qualified folder.
>>
>> On Thursday, October 18, 2012 1:53:40 PM UTC+1, Mark Carter wrote:
>>>
>>> If I define a drawable in hdpi and xhdpi but not mdpi, will Android (on 
>>> an mdpi device) take the xhdpi drawable and scale it down by a factor of 
>>> two or will it use the nearest defined density (hdpi) drawable?
>>
>>

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

Reply via email to