title: Android Animation repeat -> image animation set
body: <p>i am trying to scale an image, rotate it, rotate it backwards and then scale it to its origninal size. 
  This is allready working, but i cant figure out how to repeat this animation set infinitly ( <code>android:repeatCount="infinite"</code> isnt working for me ).</p>
  
  <pre><code>&lt;set xmlns:android="http://schemas.android.com/apk/res/android"
  android:interpolator="@android:anim/accelerate_decelerate_interpolator"
  android:shareInterpolator="true"
  android:repeatCount="infinite"
  &gt;
  &lt;scale
      android:fromXScale="1.0"
      android:toXScale="4.0"
      android:fromYScale="1.0"
      android:toYScale="4.0"
      android:pivotX="50%"
      android:pivotY="50%"
      android:duration="700"
     /&gt;
  &lt;rotate
      android:fromDegrees="0"
      android:toDegrees="360"
      android:pivotX="50%"
      android:pivotY="50%"
      android:startOffset="700"
      android:duration="2000"
      /&gt;
  &lt;rotate
      android:fromDegrees="360"
      android:toDegrees="0"
      android:pivotX="50%"
      android:pivotY="50%"
      android:startOffset="2700"
      android:duration="2000"
  
      /&gt;
  
  &lt;scale
      android:fromXScale="1.0"
      android:toXScale="0.25"
      android:fromYScale="1.0"
      android:toYScale="0.25"
      android:pivotX="50%"
      android:pivotY="50%"
      android:startOffset="4700"
      android:duration="700"
      /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>and in the Activity: </p>
  
  <pre><code>ImageView imageView = (ImageView) findViewById(R.id.imageView2);
  Animation rotateAndScale = AnimationUtils.loadAnimation(this, R.anim.rotate_z);
  imageView.startAnimation(rotateAndScale);
  </code></pre>