title: How can I control the animation speed in android
body: <p>I have a music app and the music notations perform an animation from right to left, I want to control the animation speed, while they are performing.Can anyone please help me for that?</p>
  
  <p>My animation layout is:</p>
  
  <pre><code>&lt;set xmlns:android="http://schemas.android.com/apk/res/android"
  android:shareInterpolator="false"&gt;
  &lt;translate
      android:fromXDelta="500%" android:toXDelta="0%"
         android:fromYDelta="0%" android:toYDelta="0%"
         android:duration="10000" 
          android:fillAfter="true"
          android:repeatCount="infinite"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>And my code to perform the animation is:</p>
  
  <pre><code>Animation am=AnimationUtils.loadAnimation(this, R.anim.note);
          music1.startAnimation(am);
  </code></pre>