title: How to rotate a view without a jerk
body: <p>I want to rotate a view for infinite without any jerk, how can i achieve it.
   I try this and view is rotating fine but getting a jerk when one rotation completed.  </p>
  
  <p>xml code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
     &lt;rotate
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:interpolator="@android:anim/accelerate_interpolator"
        android:fromDegrees="0"
        android:toDegrees="359"
        android:pivotX="50%"
        android:pivotY="50%"
        android:repeatCount="infinite"
        android:duration="500" /&gt;
  </code></pre>
  
  <p>in java code:  </p>
  
  <pre><code>image.startAnimation(AnimationUtils.loadAnimation(MainActivity.this,  R.anim.rotate_indefinitely));
  </code></pre>