From 9a2663e2f9d86db12c229a814b39eba3cc6e8a02 Mon Sep 17 00:00:00 2001 From: joeykrim Date: Thu, 18 Jun 2015 18:54:09 -0400 Subject: [PATCH] Update ProgressWheel.java Default values are in pixels, such as circleRadius and barWidth as defined at 28 and 4 respectively. This is confirmed by setCircleRadius (https://github.com/pnikosis/materialish-progress/blob/master/library/src/main/java/com/pnikosis/materialishprogress/ProgressWheel.java#L568) saying, "@param circleRadius the expected radius, in pixels" and setBarWidth (https://github.com/pnikosis/materialish-progress/blob/master/library/src/main/java/com/pnikosis/materialishprogress/ProgressWheel.java#L587) saying, "@param barWidth the spinning bar width in pixels" Unsure whether this was the intended behavior. --- .../java/com/pnikosis/materialishprogress/ProgressWheel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/pnikosis/materialishprogress/ProgressWheel.java b/library/src/main/java/com/pnikosis/materialishprogress/ProgressWheel.java index 0c54b4f..2729c5d 100644 --- a/library/src/main/java/com/pnikosis/materialishprogress/ProgressWheel.java +++ b/library/src/main/java/com/pnikosis/materialishprogress/ProgressWheel.java @@ -32,7 +32,7 @@ public class ProgressWheel extends View { * DEFAULTS * * ********** */ - //Sizes (with defaults in DP) + //Sizes (with defaults in pixels) private int circleRadius = 28; private int barWidth = 4; private int rimWidth = 4;