I finally finished my first android library this night. The idea behind the android-square-progressbar library is that you can display a ProgressBar which surrounds a picture. This could be helpful if you don’t have  space for a normal ProgressBar or so.

You can find my github project here, this includes the actual library and an example app:

You can download the library here:

And the example app here:

At the moment it has the possibility to set different colors. But in the future I see more features like thickness of the ProgressBar and some design things to. The library supports more or less all different shapes of images, as demonstrated in the example app.

Here are some examples how it could look like.

one two

To add this to a project, simply add the following part to your XML-Layout:

android:layout_centerHorizontal="true" />

You then can access it from the java code like that:

SquareProgressBar subi = (SquareProgressBar) findViewById(;

Yannick Signer