To use vertical progressbar, you have to make your own widget extending View, not ProgressBar.
the source of ProgressBar widget may help. On Feb 16, 6:24 am, Jonathan <jonathanmschm...@gmail.com> wrote: > HI, I am extending the normal android.widget.ProgressBar. I want to > make it vertical. This is my current onDraw Method > > @Override > protected synchronized void onDraw(Canvas canvas) { > > canvas.save(); > canvas.rotate(90); > canvas.translate(0,-50); > super.onDraw(canvas); > canvas.restore(); > } > > This rotates it fine, however I am having alot of sizing issues. It > seems as though I have to set the width and the height of the control > to be the same thing or else I run into alot of clipping issues. > Basically, I want to have a progress bar that, once rotated, is 50dip > wide and fills the screen vertically. Can anyone think of a way to do > this? > > Also, it doesn't seem to be actually drawing the progress properly, > but I will revisit that once I get the clipping sorted out. > > Thanks > > Jon -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en