How do I add animated sprites to a custom view?

I have used AnimationDrawable object to execute the animation. The
animation works if I add the xml resource to the background of my
custom view. But I want to know how to draw the animationdrawable
directly on a canvas. Please help me with examples..
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to