Use the android:scaleType attribute with a value of "FIT_XY" or "FIT_CENTER".
On Oct 8, 7:43 am, Asif k <[email protected]> wrote: > Hi All, > > I am adding the drawble image xyz.png in the ImageView. But the > problem is that the whole image cannot included in the view. > > by reducing layout height and weight also results in just cropping > the image. I had also tried with Adjust View Bounds but no > improvement. > > Is there any way to scale down the whole image to include in the > View. > > Thanks, > Asif --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

