title: Android: call requestLayout() after update v.layout parameter causes layout reverts back to it's original position
body: <p>I have framelayout which contains two relative layouts, one is on top of the other. When user clicks a button, the one on the top move 80% off the screen to the right. Then one on the bottom becomes clickable. This is what it looks like.</p>
  
  <pre><code>                                 FrameLayout
            RelativeLayout (bottom)              RelativeLayout (top)
              FilterWidgets                   Open/close button, ListView
  </code></pre>
  
  <p>It's really easy to achieve on 3.0+ with the new animation api which is Property base Animation. For the pre 3.0, because animation is view based. So I end up manually modify the layout property on onAnimationEnd. The call requestLayout to make it permanent, but only to find out the layout reverts back to original position. Anybody know how to move layout permanently? </p>
  
  <p>see my other post if you want to see the whole picture: 
  <a href="https://stackoverflow.com/questions/14541265/changecursor-cause-layout-container-of-the-listview-to-reposition">https://stackoverflow.com/questions/14541265/changecursor-cause-layout-container-of-the-listview-to-reposition</a></p>
  
  <pre><code>theTranslationX.addListener(new AnimatorListenerAdapter() {
  
                      @Override
                      public void onAnimationEnd(Animator nullPointer) {
                          v.clearAnimation();
                          int theL = isMenuOn() ? 0 : v.getLeft() + getFilterWidth();
                          int theR = isMenuOn() ? v.getWidth() : v.getLeft() + getFilterWidth() + v.getWidth();
                          int theHeight = v.getHeight();
                          int theT = 0;
                          v.layout(theL, theT, theR, theHeight);
                          v.requestLayout();
                      }
                  });
  </code></pre>