title: How to get the Dimensions of a Drawable in an ImageView?
body: <p>What is the best way to retrieve the dimensions of the Drawable in an ImageView?</p>
  <p>My <code>ImageView</code> has an Init-Method where I create the <code>ImageView</code>:</p>
  <pre><code>private void init() {
      coverImg = new ImageView(context);
      coverImg.setScaleType(ScaleType.FIT_START);
      coverImg.setImageDrawable(getResources().getDrawable(R.drawable.store_blind_cover));
      addView(coverImg);
  }
  </code></pre>
  <p>At some point during the layout oder measure process I need the exact dimensions of the Drawable to adjust the rest of my Components around it.</p>
  <p><code>coverImg.getHeight()</code> and <code>coverImg.getMeasuredHeight()</code> don't return the results that I need and if I use <code>coverImg.getDrawable().getBounds()</code> I get the dimensions before it was scaled by the <code>ImageView</code>.</p>
  <p>Thanks for your help!</p>