Skip to content

Commit 61f7492

Browse files
authored
Update README.md
1 parent 1456531 commit 61f7492

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,12 @@ max | Float | 100f | value of the maximum progress. The progress value can not o
250250
radius | Dimension | 8dp | corner radius of the ProgressView.
251251
padding | Dimension | 0dp | padding of the progressbar.
252252
duration | Long | 1000L | duration of the animation.
253-
colorProgress | Int(Color) | colorPrimary | color of the progressbar.
254-
colorBackground | Int(Color) | Color.WHITE | color of the container.
255-
colorGradientStart | Int(Color) | colorPrimary | starting color of the gradient.
256-
colorGradientEnd | Int(Color) | colorPrimary | ending color of the gradient.
253+
colorProgress | Color | colorPrimary | color of the progressbar.
254+
colorBackground | Color | Color.WHITE | color of the container.
255+
colorGradientStart | Color | colorPrimary | starting color of the gradient.
256+
colorGradientEnd | Color | colorPrimary | ending color of the gradient.
257+
borderColor | Color | colorBackground | a border color of the container.
258+
borderWidth | Int | 0 | a border width size of the container.
257259
autoAnimate | Boolean | true | starts filling animation automatically when finishing inflate.
258260
animation | ProgressViewAnimation | NORMAL | animation of the progress animation.
259261
progressFromPrevious | Boolean | false | animates progress from previous progress.
@@ -267,6 +269,7 @@ labelColorInner | Int(Color) | colorPrimary | text color when the label placed o
267269
labelColorOuter | Int(Color) | colorPrimary | text color when the label placed out of the progress bar.
268270
labelSpace | Dimension | 8dp | space size of the between label and progress bar.
269271
labelTypeface | Typeface | Typeface.NORMAL | typeface of the label.
272+
labelConstraints | ProgressLabelConstraints | Progress | determines the constraints of the label positioning.
270273

271274
### Highlighting
272275
Attributes | Type | Default | Description

0 commit comments

Comments
 (0)