Hello,

I have read from the documentation that "If your application creates an 
in-memory bitmap (a 
Bitmap<http://developer.android.com/reference/android/graphics/Bitmap.html>object),
 the system assumes that the bitmap is designed for the baseline 
medium-density screen, by default, and auto-scales the bitmap at draw 
time", but what happens when we inflate a view, that has bitmaps, from my 
test(platform 2.2) i see that also during the inflation the mdpi graphics 
are preferred even in hdpi screens, that causes problems.
Is there a way to prevent this from happening? Without having to go through 
code and change each image after inflation? (creating the bitmaps with 
BitmapFactory.Options<http://developer.android.com/reference/android/graphics/BitmapFactory.Options.html>
 and 
inDensity<http://developer.android.com/reference/android/graphics/BitmapFactory.Options.html#inDensity>etc)

Regards,
Christos

-- 
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