The title bar uses a RotateDrawable. The animation is driven by the
ProgressBar widget.

On Thu, May 14, 2009 at 12:25 PM, Al <[email protected]> wrote:
>
> 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.
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~
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