to change pro-grammatically use :
imgview.setScaleType(ScaleType.FIT_XY);
OR
to change from xml use:
android:scaleType="fitXY"
More Related Contents:
- How to load an ImageView by URL in Android? [closed]
- How can I get zoom functionality for images?
- ImageView in circular through XML
- Adding gif image in an ImageView in android
- Custom ImageView with drop shadow
- Caching images and displaying
- Listview click to show image in ImageView
- Show GIF file with Glide (image loading and caching library)
- How to set margin of ImageView using code, not xml
- Android get image from gallery into ImageView
- ImageView be a square with dynamic width?
- ImageView scaling TOP_CROP
- Change Image of ImageView programmatically in Android
- Trying to get the display size of an image in an ImageView
- android imageView: setting drag and pinch zoom parameters
- Get Image from the Gallery and Show in ImageView
- How do you setLayoutParams() for an ImageView?
- Android: how to convert whole ImageView to Bitmap?
- android:select image from gallery then crop that and show in an imageview
- Loading remote images
- How to align TextView around an ImageView?
- How to set an imageView’s image from a string?
- Android image view matrix scale + translate
- How to get the Dimensions of a Drawable in an ImageView? [duplicate]
- Android Drop Shadow on View
- Set ImageView’s max width as a percent of its parent’s width
- I want to transfer the image from one activity to another
- How to highlight ImageView when focused or clicked?
- How to show imageView full screen on imageView click?
- How to place an imageview on top of another imageview in android