title: Animated textView change the text and animate again (animated countdown)
body: <p>I am trying to make an animated countdown on android plataform, that show de number 3 in textView growing up from 0 to 1.5 on scale property, so the number 2, 1 and "GO!".</p>
  
  <p>I'm using a textView, an Animation and an AnimationListener, but the animation doesn't work as I want, it works just in first animation showing number 3, so it shows the word "go!"   without animating.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks!</p>
  
  <p>Here the View counter.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="horizontal" android:layout_height="fill_parent" 
  
  android:layout_width="fill_parent" android:gravity="center_vertical|center_horizontal"&gt;
  
      &lt;TextView
          android:id="@+id/txtCount"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="3" android:textColor="#ffffff" android:textSize="150dp"/&gt;
  
  &lt;/LinearLayout&gt;
  
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;set xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;scale
          android:interpolator="@android:anim/linear_interpolator"
          android:fromXScale="0"
          android:toXScale="1.5"
          android:fromYScale="0"
          android:toYScale="1.5"
          android:fillAfter="false"
          android:duration="1000" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>My code:</p>
  
  <pre><code>public class AdivinhacaoActivity extends Activity {
  
  ...
  
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      ...
  
      //async task
      new loaderImages(this).execute();
  }
  
  private class loaderImages extends AsyncTask&lt;Void, String, Bitmap[]&gt; {
  
      Activity activity;
      public loaderImages(Activity act){
          activity = act;
      }
  
      protected Bitmap[] doInBackground(Void... arg0) {       
  
          ...
  
          return list;
      }
  
  ...
      int countCounter;
      protected void onPostExecute(Bitmap[] imagens){
          bmps = imagens;
          carregaContagem();
          final Animation anima = AnimationUtils.loadAnimation(activity, R.anim.counter);         
  
          countCounter = 3;
  
          anima.setAnimationListener(new AnimationListener() {                
  
                      public void onAnimationStart(Animation anim){};                 
                      public void onAnimationRepeat(Animation anim){};
  
                      public void onAnimationEnd(Animation anim)
                      {                   
                  //here I tried txtCount.clearAnimation() but it doesn't work
                          countCounter--;                 
                          if(countCounter &gt;= 0){
                      //change the text
                              if(countCounter &gt; 0){
                                  txtCount.setText("" + countCounter);
                              }
                              else{
                                  txtCount.setText("GO!");                            
                              }   
                      //start animation again with text changed  
                              txtCount.startAnimation(anim);
                          }
                          else{
                              ...
                          }
                      };
                  });
  
          //start animation first time
          txtCount.startAnimation(anima);         
  
          }
  
      }
  
  }
  </code></pre>