Why not stick your custom imageview and spinner inside a ViewSwitcher?
While your imageview is loading show the spinner... When it finished
loading show the imageview.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Jun 12, 2012 at 1:04 AM, Karakuri Dev <[email protected]>wrote:

> *Short version*: Can I use the indeterminate progress spinner as the
> source image for an ImageView?
>
> *Long version*: I have an ImageView with a custom background (it's
> actually a custom widget that extends ImageView and implements extra
> drawing in onDraw). While the source image is loading, I want to show the
> indeterminate progress spinner. Thus far all the solutions I've seen have
> involved rotating the entire ImageView, which I cannot use for this. I've
> tried replicating the drawable xml used by the system and setting that as
> the source image, but the result is always a static image that doesn't
> spin. Is there some way to set a rotating drawable as the source image?
>
> --
> 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

Reply via email to