title: Rotate animation not working in android 4.0
body: <p>In my Android application, I apply programmatically a rotation animation to a drawable object :</p>
  
  <pre><code>    Animation rotation = AnimationUtils.loadAnimation(this, R.animator.rotate);
      rotation.setRepeatCount(Animation.INFINITE);
      progressDialog.findViewById(R.id.progress).startAnimation(rotation);
  </code></pre>
  
  <p>This is working fine in Android 2.3, but fails in 4.0. The drawable is not animated in 4.0.
  What could be the problem here ?</p>
  
  <p><strong>EDIT</strong>
  Here is my <code>rotate.xml</code> file :</p>
  
  <pre><code>&lt;set xmlns:android="http://schemas.android.com/apk/res/android"
      android:shareInterpolator="false"&gt;
      &lt;rotate
          android:fromDegrees="0"
          android:toDegrees="360"
          android:pivotX="50%"
          android:pivotY="50%" 
          android:duration="2000"
          android:repeatCount="-1"
          android:interpolator="@android:anim/linear_interpolator"/&gt;
  &lt;/set&gt;
  </code></pre>