title: Android: get height of a view before it´s drawn
body: <p>For an animation I need to know the height from a View. The Problem is, that the getHeight() method allways return 0 unless the View is drawn. 
  So is there any way to get height without drawing it?</p>
  
  <p>In this case the View is a LinearLayout.</p>
  
  <p>EDIT:
  I try to adapt the expand Animation from <a href="https://github.com/Udinic/SmallExamples/blob/master/ExpandAnimationExample/src/com/udinic/expand_animation_example/ExpandAnimation.java">https://github.com/Udinic/SmallExamples/blob/master/ExpandAnimationExample/src/com/udinic/expand_animation_example/ExpandAnimation.java</a> </p>
  
  <p>With it I want to expand some more informations for a list item.
  I wasn´t able to achieve the same effect via xml.
  At the moment the Animation only works when you know the layout size before drawing it.</p>