Skip to content

Commit

Permalink
added styling
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonZorin committed Apr 10, 2016
1 parent e471f8a commit 566c681
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ void init() {

int defaultColor = r.getColor(R.color.defaultColor);





mDegreePerCircle = 360 / mCirclesCount;
mPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
mPaint.setColor(getResources().getColor(R.color.defaultColor));
Expand Down
8 changes: 8 additions & 0 deletions dottedprogressbar/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="DottedProgressBar">
<attr name="dotColor" format="color"/>
<attr name="arrowsColor" format="color"/>
<attr name="centerColor" format="color"/>
</declare-styleable>
</resources>

0 comments on commit 566c681

Please sign in to comment.