nico2sh / materialish-progress

A material style progress wheel compatible with 2.3
Apache License 2.0
2.48k stars 463 forks source link

Update typo in comments, changing dp to pixel #27

Open joeykrim opened 9 years ago

joeykrim commented 9 years ago

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.