http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html
http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html#attr_android:oneshot android:oneshot<http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html#attr_android:oneshot>If true, the animation will only run a single time and then stop. The link you gave us uses oneshot false. Btw, you might want to show us your code. /David On Mon, Jun 4, 2012 at 1:29 PM, Narendra Singh Rathore < [email protected]> wrote: > Hi all, > Here I want to show display gif image, for which I found the solution to > display frames of that image and use animation in that. > The following tutorial (link) helped me out in that. > > > http://www.blindndumb.com/2012/02/android-tutorial-playing-gif-animation.html > > Here using this link, the animation started, as I wanted, > but the problem I have to face here is the animation never stops, even if > all the frames got completed. > It repeats and repeats again. I just want it to be stop instantly if all > the frames are being displayed once. > > Please direct me in this. > > Thanks n Regards. > NSR. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

