To add to the above question, I have seen some progress bar examples in API demos. but they are using xml to represent the progress bar. Is there a way to access the xml specified progress bar to show on canvas??
On Tue, Mar 1, 2011 at 12:28 PM, Shashidhar <[email protected]> wrote: > Hi, > I want to show a progress bar on my custom view canvas. I tried the > following in onDraw() method of my custom view. > > ProgressBar pb = new > ProgressBar(getContext()); > pb.setIndeterminate(true); > pb.draw(canvas); > pb.invalidate(); > > But, its not showing any progress bar on the canvas. > > Any help on this is appreciated. > > > Thanks, > Shashidhar > -- 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

