title: How to get "AnimationDrawable" event
body: <p>I am working on game application and i use <strong>AnimationDrawable</strong> for image change.
      but problem is i want imageview invisible when Animation is finish.so what should i do
      for this.  </p>
  
  <pre><code>My code is like this...
  
   mAnimation = new AnimationDrawable();
           mAnimation.addFrame(getResources().getDrawable(R.drawable.d5),50);
           mAnimation.addFrame(getResources().getDrawable(R.drawable.d4),50);
           mAnimation.addFrame(getResources().getDrawable(R.drawable.d3),50);
           mAnimation.addFrame(getResources().getDrawable(R.drawable.d2),50);
           mAnimation.addFrame(getResources().getDrawable(R.drawable.d1),150);
           mAnimation.addFrame(getResources().getDrawable(R.drawable.d2),50);
           mAnimation.addFrame(getResources().getDrawable(R.drawable.d3),50);
           mAnimation.addFrame(getResources().getDrawable(R.drawable.d4),50);
           mAnimation.addFrame(getResources().getDrawable(R.drawable.d5),50);
         mAnimation.addFrame(getResources().getDrawable(R.drawable.new_transparent),50);
  
  
           mAnimation.setOneShot(true);
           mDogImage.setImageDrawable(mAnimation);
  </code></pre>
  
  <p>Thanks in advance. </p>