Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/com/thbs/progressbutton/CusImage.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void reset() {

sweepAngle = 0;
startAngle = -90;
flag = 1;
flag = 0;
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/com/thbs/progressbutton/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void run() {
if (masterLayout.flg_frmwrk_mode == 3) {

//End state. Call any method that you want to execute.

masterLayout.reset();
runOnUiThread(new Runnable() {

@Override
Expand Down
2 changes: 2 additions & 0 deletions src/com/thbs/progressbutton/MasterLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ public void reset() {

cusview.reset();
cusview.setVisibility(View.GONE);
fillcircle.setVisibility(View.GONE);
buttonimage.setVisibility(View.VISIBLE);
buttonimage.setImageBitmap(first_icon_bmp);
flg_frmwrk_mode = 1;

Expand Down