android - Right to Left ProgressBar? -


does know how make view reversed, have horizontal progressbar , want right left instead of left right

make subclass of normal progress bar view , implement ondraw method rotate canvas before drawing it:

@override protected void ondraw(canvas canvas) {     canvas.save();     canvas.rotate(180,<centerx>,<centery>);     super.ondraw(canvas);     canvas.restore(); } 

this should trick.


Comments

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

asp.net - call stack missing info on mono with apache and mod_mono -