title: Get ImageView Width and Height before setting the bitmap
body: <p>I have an action bar, text view and an imageview in my layout. Imageview has widht and height match_parent. Imageview takes the rest of the space left in the view. I want to set a bitmap to the view but that is too huge. So I first want to get the width and height of the imageview and use them to scale down the bitmap and then set it the imageview. I have tried getting width and height of the imageview in OnCreate, but that is coming as 0,0 probably because imageview has not been created yet.</p>
  
  <p>Please suggest how to do it ?</p>
  
  <p>Thanks.</p>