android-square-progressbar v.1.1.0

IMG_20130628_185136

Finally the new version of the android-square-progressbar is now available.  This version has some major features like:

  • custom width of the progressbar
  • easy methods to set the colours (holo-colours, hexcoloursand RGB)
  • better algorithm
  • new example app

In the new example app I made some bigger changes. First of all the pictures are now completely different, because I don’t want to run into any copyright problems. Another big change are the new 2 elements where you can set the width of the progressbar and the colour.

You now can simply set the colour of the bar with the following code:

squareProgressBar.setColor("#C9C9C9");

or

squareProgressBar.setHoloColor(color.holo_blue_dark);

This is really helpful and a better way to set the colour as in the first version. In the app you can choose the colour like that:

newcolour

 Actually the new major feature is the possibility to set the width of the progressbar. I recommend to set it between 3 and 20 dp.

 squareProgressBar.setWidth(8);

Here are some examples:

newscreen1newscreen2

Another big improvement is the new algorithm. It is now working properly and it handles the width quite well.

Play Store : https://play.google.com/store/apps/details?id=net.yscs.android.square_progressbar_example

Github : https://github.com/mrwonderman/android-square-progressbar/

Yannick Signer