title: Android Animate Rotate
body: <p>I did some digging in Android code, and saw the use of  in the indeterminate progress bar. after trying to create my own drawable with this tag:</p>
  
  <pre><code>&lt;animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
      android:drawable="@drawable/spinner_pia"
      android:pivotX="50%"
      android:pivotY="50%"
      android:framesCount="12"
      android:frameDuration="100" /&gt;
  </code></pre>
  
  <p>I get an error:
  "No resource identifier found for attribute 'frameDuration' in package 'android'" - which means that frameDuration is a private attribute. 
  Is there a way to use this "animate-rotate" feature?</p>
  
  <p>My task is to replace the system's default indeterminate progress bar. I'd like to do it with as little code as possible (just change few attributes if possible).
  Using the ProgressBar view, setting:</p>
  
  <pre><code>android:indeterminateOnly="true"
  android:indeterminateBehavior="cycle"
  android:indeterminateDuration="3500"
  android:indeterminateDrawable="@drawable/pia_sivuvator"
  </code></pre>
  
  <p>and point "@drawable/pia_sivuvator" to that  object would've make my task as elegant as they come but I'm stuck on those private attributes.</p>
  
  <p>help?</p>