title: Setting a controls height to "match_parent" makes its parent bigger?
body: <p>I am attempting to make a card view with some text and an image inside it.</p>
  
  <p><img src="https://i.stack.imgur.com/STMCW.png" alt="This is what I want"></p>
  
  <p>I want the card view to be just big enough for the textviews which each can wrap to multiple lines so I want the card to scale based on the text, I also want the image to fill the height of the card whatever it may be.</p>
  
  <p>So I set the card view and the linear layout containing the textviews height to wrap_content, and the image views height to match_parent.</p>
  
  <p>However setting the images to match_parent makes the whole card bigger meaning its much bigger than needed for the text?</p>
  
  <p>Is there any way around this or some alternative method to achieve the same effect?</p>
  
  <p>EXTRA INFORMATION:</p>
  
  <p>I think I know why this is happening, Its because the image views desired size based on the size of the image is bigger than the card so if the cards height is match_parent it will get as big as its parent allows until it reaches the size of the original image. Because the height of its parent is wrap_content it lets the image view get that big. I'm still no wiser on how to stop this happening though other than scaling down the image but this would mean it gets pixelated?</p>