title: How do you animate a change in a view's padding?
body: <p>I want to animate the change in the padding of a view. The resting place of the translation animation is the same as the padding I want to apply. </p>
  
  <pre><code>TranslateAnimation moveleft = new TranslateAnimation(Animation.ABSOLUTE, 0.0f,
                      Animation.ABSOLUTE, PADDING, Animation.ABSOLUTE,
                      0.0f, Animation.ABSOLUTE, 0.0f);
  
  moveLeft.setDuration(500);
  moveLeft.setFillAfter(true);
  </code></pre>
  
  <p>This starts the view's animation then sets the padding. This doesn't exactly work because it cause a graphical glitch.</p>
  
  <pre><code>v.startAnimation(moveleft);   
  v.setPadding(PADDING, 0, 0,0);
  </code></pre>