title: Applying animation more than once in android
body: <p>I have a problem with applying an animation</p>
  
  <p>Given the following animation code </p>
  
  <pre><code>  &lt;translate xmlns:android="http://schemas.android.com/apk/res/android"
          android:duration="1000"
          android:fromXDelta="0"
          android:interpolator="@anim/cycle_10"
          android:toXDelta="10" /&gt;
  </code></pre>
  
  <p>after starting the application this animation can be applied only once  </p>
  
  <pre><code>public void onClick{
  button.setAnimation(shake);
  }
  </code></pre>
  
  <p>how to apply this animation more than once?</p>