Niko Niko - 1 year ago 107
Android Question

Right to Left ProgressBar?

Does anyone know how to make a View reversed, I have a horizontal ProgressBar and I want it to right to left instead of left to right

Answer Source

Make a subclass of the normal progress bar view and implement the onDraw method to rotate the canvas before drawing it:

protected void onDraw(Canvas canvas) {;

This should do the trick.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download