Added the functionality of using a TextView instead of a ImageView

To implement it in your code just use SquareProgressBarWithtext instead of SquareProgressBar

Example Call 


<net.yscs.android.square_progressbar.SquareProgressBarWithText
    android:id="@+id/subi"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentTop="true"
    android:layout_centerHorizontal="true"
    android:paddingTop="20dp" >
</net.yscs.android.square_progressbar.SquareProgressBarWithText>


SquareProgressBarWithText squareProgressBar = (SquareProgressBarWithText) findViewById(R.id.subi);
squareProgressBar.setImage(R.drawable.city);
squareProgressBar.setColor("#C9C9C9");
squareProgressBar.setProgress(32);
squareProgressBar.setWidth(8);
squareProgressBar.setOpacity(false);