Skip to content

Commit

Permalink
bug-fix: users should use any ViewGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
Otieno Rowland committed Apr 25, 2019
1 parent 90bac05 commit 3f3df81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ public class StrippedProgressBar extends View implements ProgressView, StrippedB

private Canvas progressCanvas;
private Bitmap progressBitmap;
//private Bitmap stripeTile;

private float bootstrapSize;
private boolean showPercentage;
Expand Down Expand Up @@ -522,7 +521,7 @@ public void setMaxProgress(int newMaxProgress) {
String.format("MaxProgress cant be smaller than the current progress %d<%d", getProgress(), newMaxProgress));
}
invalidate();
StrippedProgressBarGroup parent = (StrippedProgressBarGroup) getParent();
//StrippedProgressBarGroup parent = (StrippedProgressBarGroup) getParent();
}

void setCornerRounding(boolean left, boolean right) {
Expand Down

0 comments on commit 3f3df81

Please sign in to comment.