On May 13, 9:31 pm, "Mark Murphy" <[email protected]> wrote: > I'd vote for RotateAnimation, personally, but that's only because I've > used it for the scenario you're describing. >
That seems like it would work except I can't figure out how to create a RotateAnimation object. There doesn't seem to be any method I can directly use to create and set the animation resource to. It gives constructors for creating from resources, using context and attributeset but I can't find any way to get the attributesets manually :s On May 13, 9:50 pm, Jeff Sharkey <[email protected]> wrote: > You're probably looking for AnimatedImageView instead of ImageView, > which will trigger the animation automatically once its visible. This doesn't work either, the problem line of code is: if (drawable instanceof AnimationDrawable), whereas the progress_small.xml file is a RotateDrawable type. How does the title bar draw an indeterminate progress bar? The Window class is abstract and no other class seems to extend it and implement the setFeatureInt method which would be used for enable the progress circle. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

