title: Android animation does not repeat
body: <p>I'm trying to make simple animation that would repeat several times (or infinitely).<br/>
  It seems that <code>android:repeatCount</code> does not work!<br/>
  Here is my animation resource from <code>/res/anim/first_animation.xml</code> :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:shareInterpolator="false"
      android:repeatCount="infinite"
      &gt;
      &lt;scale
          android:interpolator="@android:anim/decelerate_interpolator"
          android:duration="500"
          android:fromXScale="1.0"
          android:fromYScale="1.0"
          android:toXScale="1.2"
          android:toYScale="1.2"
          android:pivotX="50%"
          android:pivotY="50%"
          android:fillAfter="false" /&gt;
      &lt;scale
          android:interpolator="@android:anim/accelerate_interpolator"
          android:startOffset="500"
          android:duration="500"
          android:fromXScale="1.2"
          android:fromYScale="1.2"
          android:toXScale="1.0"
          android:toYScale="1.0"
          android:pivotX="50%"
          android:pivotY="50%"
          android:fillAfter="false" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>First it should scale image from 1.0 to 1.2 size in 500 ms.<br/>
  And then scale it back to 1.0 in 500 ms.<br/>
  Here is how I'm using it:<br/></p>
  
  <pre><code>Animation firstAnimation = AnimationUtils.loadAnimation(this, R.anim.first_animation);
  imgView.startAnimation(firstAnimation);
  </code></pre>
  
  <p>It makes one cycle and then finishes. <br/>
  It scales up, then scales down ans then stops.<br/>
  <br/>
  <strong>How can I make this work as intended?</strong></p>