title: TransitionDrawable: automatically reverse transition once it completes
body: <p>I want to highliht newly-added ListView items with a nice effect. I thought that was simple&amp;easy, but I stumpled upon a problem:</p>
  
  <p>I want to play TransitionDrawable animation and once it completes - rewind it. The new item is going to be highlited for a moment, and then it will blend with the rest.</p>
  
  <p>TransitionDrawable has methods for playing animation forward and backward, but none that could be used for synchronization. I expected a possibility to specify a callback for animation completion, something like:</p>
  
  <pre><code> TransitionDrawable transition = (TransitionDrawable) view.getBackground();
   transition.startTransition(500, new TransitionCompleteListener(){
                 public void completed()
                 { 
                      transition.reverseTransition(500);
                 }
         });
  </code></pre>
  
  <p>But nothing like that is supported by TransitionDrawable class.</p>
  
  <p>The problem is: How to play TransitionDrawable animation, and when it finishes - immediately play it backwards? I had an idea of using <code>Timer</code> class to delay execution of the backwards part of the animation, but this solution looks a bit too heavy for such a simple thing.</p>
  
  <p>Or maybe I should use something different that TransitionDrawable? I'd like to avoid using  Property Animations, since I want to support older devices (and PA are avaialble since Honeycomb). </p>