Hi,

I've been struggling to find out how Android's animation framework
works, as it's basically undocumented. What I want to do is create a
custom rotating spinner graphic (similar to an ajax loader).

Now, I looked at how the framework uses RotateDrawable, and basically
copied the XML used to define such a drawable.

But, when I set this drawable as an image resource or background, it
remains static rather that performing the rotation. So how to I
trigger the rotation? There is a class called RotateAnimation, but it
asks the same things off me (e.g. rotation degrees, pivot) that I
already defined in the RotateDrawable... that can't be right I guess?

So how do I trigger the rotation of a RotateDrawable?

Thanks in advance,
Matthias
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to