title: Android Animation one after other
body: <p>I have two TranslateAnimations on a TextView and I want them to execute one after other. However, by using the code below, only the second one is executed.</p>
  
  <p>How can I solve this?</p>
  
  <pre><code>TranslateAnimation animation = new TranslateAnimation(
      Animation.ABSOLUTE, 0.0f, Animation.ABSOLUTE, 0.0f,
      Animation.ABSOLUTE, 0.0f, Animation.ABSOLUTE, -150.0f);
  animation.setDuration(200);
  wave.startAnimation(animation);
  
  TranslateAnimation animation1 = new TranslateAnimation(
      Animation.ABSOLUTE, 0.0f, Animation.ABSOLUTE, 0.0f,
      Animation.ABSOLUTE, 150.0f, Animation.ABSOLUTE, 0.0f);
  animation1.setDuration(200);
  wave.startAnimation(animation1);
  </code></pre>