title: ImageView not keeping max height and width
body: <p>I load an image into an <code>ImageView</code> using <code>.setImageURI(selectedImageUri)</code> that is retrieved from the user's photo gallery. I have the image view restrict the size with </p>
  
  <pre><code>android:maxHeight="150dp"
  android:minHeight="150dp" 
  android:maxWidth="150dp" 
  android:minWidth="150dp"
  </code></pre>
  
  <p>It's fine up until the you add the image from the gallery. The image then forgets about the max height and width. It is as wide as the display and there is a lot of space above and below the image. I had to add a scrollview just to see the image and scroll down. there is an even amount of space above and below. Has anyone run into this problem before?</p>