[android-developers] Re: Progress circle (NOT indeterminate!)
Hmm actually I didn't though about using canvas and arcs - seems like
a good idea. I was thinking about using image animations but was
worried about the performance - for a fluent flow I would need 4 steps
per second and I assume 15s so the animation would need 60 images. And
I remember I had memory issues with 20 image animation.
But drawing a canvas shouldn't be a as resource consuming. The problem
is how to implement this in the increment progress bar process... Do
you know any examples of that? They don't have to be circles.
On 13 Maj, 18:12, Nicholas Johnson <metthejohn...@gmail.com> wrote:
> But, if you're looking to make a wheel progress bar instead of a horizontal
> progress bar, then you'll have to make a custom view. It's actually not too
> hard, and can be easily done by extending the progress bar class, and
> handling the onDraw methods. My suggestion would be to first draw a circle
> with your desired "empty" progress bar color, then draw an arc over top of
> the same circle in your desired "completed" color.
>
> I'm not aware of any open source projects which give you a progress bar in
> wheel form.
>
> Nick
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home