title: Achieving dynamic Android LinearLayout height
body: <p>I am currently designing the widget for my app (see attached screenshot). Using a LinearLayout I was able to create the following setup:</p>
  
  <ol>
  <li>Image: weight - 2</li>
  <li>Title section: weight - 1</li>
  <li>Price section: weight -1</li>
  </ol>
  
  <p>However I would like the title and price section to be of fixed height while the image's height changes (shrink or grow) when the user resizes the widget.</p>
  
  <p>How can I make the height of the image dynamic without using layout_weight? Thank you</p>
  
  <p><img src="https://i.stack.imgur.com/WrnPf.png" alt="enter image description here"></p>