Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 766
Niko Avatar asked Oct 07 '10 00:10

Niko


1 Answers

It's even easier. You can simply call the following method and then it's rotated and works just how you wanted.

progressBar.setRotation(180); 

An example: a normal progressbar and a RTL progressbar

like image 94
yansigner Avatar answered Sep 19 '22 05:09

yansigner