Skip to content

Commit

Permalink
Update README to reflect attr renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
christiandeange committed Mar 31, 2016
1 parent 5177049 commit 5525f8b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Expand Up @@ -9,15 +9,15 @@ Android ProgressBar that "bends" under its own weight.

| Attribute | Type | Default | Usage |
| -------------------- | --------- | ----------------------------- | ------------------------------------------------------------ |
| `app:max` | integer | 0 | The max value of the progress bar |
| `app:progress` | integer | 0 | The current value of the progress bar |
| `app:primaryColor` | color | `@attr/colorControlActivated` | Color used for the progress completed |
| `app:secondaryColor` | color | `@attr/colorControlHighlight` | Color used for the progress remaining |
| `app:slack` | dimension | 32dp | The max vertical "bend" of the progress bar |
| `app:strokeWidth` | dimension | 8dp | The width of the progress bar line |
| `app:dynamicLayout` | boolean | false | If the progress bar should change in height as slack changes |
| `app:ropeMax` | integer | 0 | The max value of the progress bar |
| `app:ropeProgress` | integer | 0 | The current value of the progress bar |
| `app:ropePrimaryColor` | color | `@attr/colorControlActivated` | Color used for the progress completed |
| `app:ropeSecondaryColor` | color | `@attr/colorControlHighlight` | Color used for the progress remaining |
| `app:ropeSlack` | dimension | 32dp | The max vertical "bend" of the progress bar |
| `app:ropeStrokeWidth` | dimension | 8dp | The width of the progress bar line |
| `app:ropeDynamicLayout` | boolean | false | If the progress bar should change in height as slack changes |

*Note: Pre-Lollipop, `app:primaryColor` defaults to [#009688](http://www.color-hex.com/color/009688) and `app:secondaryColor` defaults to [#DADADA](http://www.color-hex.com/color/dadada)*
*Note: Pre-Lollipop, `app:ropePrimaryColor` defaults to [#009688](http://www.color-hex.com/color/009688) and `app:ropeSecondaryColor` defaults to [#DADADA](http://www.color-hex.com/color/dadada)*


---
Expand All @@ -43,7 +43,7 @@ dependencies {
###License

```
Copyright 2015 Christian De Angelis
Copyright 2016 Christian De Angelis
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Binary file modified ropeprogressbar.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5525f8b

Please sign in to comment.