title: LinearLayout doesnt appear correctly after changing its height through applyTransformation
body: <p>I'm trying to perform a smooth transition (expand/collapse) on my <code>LinearLayout</code> through <code>Animation</code>. Here's the code that i'm using for the animation:</p>
  
  <pre><code>Animation anim = new Animation(){
      @Override
      protected void applyTransformation(float interpolatedTime, Transformation t){
          super.applyTransformation(interpolatedTime, t);
          layout.getLayoutParams().height = (int)(84*interpolatedTime);
          layout.requestLayout();
      }
  };
  </code></pre>
  
  <p>The problem is that the expand/collapse animation works fine but the layout itself doesn't appear correctly once the animation is done. That following gray gradient block is how it looks like (instead of a textview and edittext):</p>
  
  <p><img src="https://i.stack.imgur.com/P2lLh.png" alt="improper layout rendering"></p>
  
  <p>Even though i'm calling <code>layout.requestLayout();</code> but still it doesnt refresh the drawing of layout at each interpolatedTime time. Is there something i'm missing here?</p>
  
  <p><em>P.S. The reason why i'm using <strong>84</strong> when setting height is because I know the rendered height of my layout and it is statically defined only during the test/debugging process.</em></p>