Ah,
android:adjustViewBounds="true"
is required for maxWidth to work.
Works now!
More Related Contents:
- How to make an ImageView with rounded corners?
- How to convert a Base64 string into a Bitmap image to show it in a ImageView?
- Show Image View from file path?
- Fit image into ImageView, keep aspect ratio and then resize ImageView to image dimensions?
- Border for an Image view in Android?
- How to create a circular ImageView in Android? [duplicate]
- Android: Rotate image in imageview by an angle
- Get Bitmap attached to ImageView
- Android: Scrolling an Imageview
- How to Make an ImageView in Circular Shape? [duplicate]
- Displaying emoticons in Android
- Android: Generate random color on click?
- How to get the width and height of an Image View in android?
- Changing ImageView source
- how to set image from url for imageView
- Get the touch position inside the imageview in android
- Android ImageView adjusting parent’s height and fitting width
- Adding Fling Gesture to an image view – Android
- android: create circular image with picasso
- Displaying YUV Image in Android
- Why isn’t my vector drawable scaling as expected?
- What does the filter parameter to createScaledBitmap do?
- Full screen background image in an activity
- Android — How to position View off-screen?
- Mask ImageView with round corner background
- Android how to identify item in listview with checkbox
- View Pager + ImageView +Pinch Zoom + Rotation
- 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