Try this method: 

 
<http://developer.android.com/reference/android/widget/ImageView.html#setScaleType(android.widget.ImageView.ScaleType)>
 setScaleType( 
<http://developer.android.com/reference/android/widget/ImageView.ScaleType.html>
 ImageView.ScaleType scaleType) 

Controls how the image should be resized or moved to match the size of this 
ImageView.

 

 

  _____  

From: [email protected] 
[mailto:[email protected]] On Behalf Of pawan nimje
Sent: Thursday, June 10, 2010 2:39 AM
To: Android Developers
Subject: [android-developers] Placing a bitmap image in ImageView

 

Hi All,

 

I have a Bitmap image (bm) and a an ImageView (iv) of 50 by 50

 

when i do iv.setImageBitmap(bm) ... only a portion of the entire image is seen 
..How can i see the whole image in the 50 dip by 50 dip ImageView ..

 

any suggestion will do ..

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

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