title: Android undo view animation
body: <p>I'm rotating an <code>ImageView</code> called <code>photo</code> with this code:</p>
  
  <pre><code>RotateAnimation rotate = new RotateAnimation(fromDegrees, toDegrees, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);
      rotate.setDuration(400);
      rotate.setFillEnabled(true);
      rotate.setFillAfter(true);
      rotate.setInterpolator(new LinearInterpolator());
      rotate.setAnimationListener(new Animation.AnimationListener() {
      });
      photo.startAnimation(rotate);
  </code></pre>
  
  <p>It rotates nicely and persists. Later I might want to change the picture in this ImageView. However, my new image appears rotated because of the persisted animation on the previous one. How can I "undo" this animation before switching images?</p>