title: how to set measurement of an image before its sibling textView?
body: <p>I have a linear layout with textView and ImageView.</p>
  
  <p>When i enlarge the text size to large, the image view doesn't have enough space so it's partially hidden.</p>
  
  <p><a href="https://i.stack.imgur.com/BGqer.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BGqer.png" alt="enter image description here"></a></p>
  
  <p>I want the Image view to be fully displayed and even if the text has to be truncated.</p>
  
  <p>Do i have any simple way to do it? instead of inheriting from LinearLayout and overriding <code>onMeasure</code>?</p>