title: Android TranslateAnimation - what parameters of a View does it change?
body: <p>This code moves a <code>View</code> by 10dp to the right:</p>
  
  <pre><code>FrameLayout.LayoutParams params = (FrameLayout.LayoutParams)view.getLayoutParams();
  params.leftMargin += 10;
  view.setLayoutParams(params);
  </code></pre>
  
  <p>But how does <code>android.view.animation.TranslateAnimation</code> do it?</p>
  
  <p>How can I detect if <code>View</code>'s position has changed after <code>TranslateAnimation</code> was performed?</p>
  
  <p>It looks like on Android sdk &lt; 21, View's position is reset after animation and not reset otherwise.</p>