title: Loading text with animation
body: <p>I want to display a buffering text like Buffering..</p>
  
  <p>And I need the dots to NOT be static i.e. every 2 seconds change the number of dots so it goes 'one dot, two dots, 3 dots, one dot and so on.
  I was wondering what is the best way to do this. Should the dots be in an image view? Should I have three images each with a specific number of dots? Or is there a different way to animate this?</p>
  
  <p>I have similar thing using handler long back. But in that case i know the end time. </p>
  
  <p>Below is my previous code also:</p>
  
  <pre><code>/**
       *  Use to show Loading... text while splash screen is loading. Here after each 350 milliseconds, i am adding 
       *  a single dot(.) using thread and showing in the text view. And after reaching 3 dots, procedure is iterating itself again. 
       *  This code will run till 3500 milliseconds. 
       */
      for (int i = 350; i &lt;= SPLASHTIME; i = i + 350) {
          final int j = i;
          handler.postDelayed(new Runnable() {
              public void run() {
                  if (j / 350 == 1 || j / 350 == 4 || j / 350 == 7
                          || j / 350 == 10) {
                      tvLoadingdots.setText(".");
                  } else if (j / 350 == 2 || j / 350 == 5 || j / 350 == 8) {
                      tvLoadingdots.setText("..");
                  } else if (j / 350 == 3 || j / 350 == 6 || j / 350 == 9) {
                      tvLoadingdots.setText("...");
                  }
              }
          }, i);
      }
  </code></pre>
  
  <p>Can anyone tell me the best way for this.</p>
  
  <p>Thanks in Advance.</p>