Check out this documentation: http://developer.android.com/guide/practices/screens_support.html#qualifiers
Different image densities can be stored in different folders so Android can pick the best one suited for the device. Android also scales images when loaded unless they are stored in the drawable-nodpi folder when used in XML. You can control the scaling of images if you use the BitmapFactory by using BitmapFactory.Options and set isScaled to false. http://developer.android.com/reference/android/graphics/BitmapFactory.Options.html#inScaled Steven Studio LFP http://www.studio-lfp.com On Thursday, October 6, 2011 10:52:26 AM UTC-5, dara kok wrote: > > It's said that dpi is only relevant when printing a document, not when > viewing the image on screen. > > in my case, i have an image created with regular resolution, 70 dpi. when i > put and display it on a phone with size set to wrap content. it shows a bit > stretched out and the edge is blurry. > > but when i increase resolution of the same image, say 300 dpi, and display > it in my app again, it shows a smaller image with crisp edge. > > so it seems image resolution has an effect here. but i just can't > understand how Android interpret the change in resolution. > > Can anyone here help me understand this? > > > Thanks, > dara kok > -- 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