Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba433a9
commit b7f8dfa
Showing
2 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,56 @@ | ||
# rope-progress-bar | ||
# RopeProgressBar | ||
|
||
Android ProgressBar that "bends" under its own weight. Inspired by http://drbl.in/nwih | ||
|
||
![RopeProgressBar Animation](ropeprogressbar.gif) | ||
|
||
--- | ||
###Attributes | ||
|
||
| Attribute | Type | Usage | | ||
| -------------------- | --------- | ------------------------------------------------------------ | | ||
| `app:max` | integer | The max value of the progress bar | | ||
| `app:progress` | integer | The current value of the progress bar | | ||
| `app:primaryColor` | color | Color used for the progress completed | | ||
| `app:secondaryColor` | color | Color used for the progress remaining | | ||
| `app:slack` | dimension | The max vertical "bend" of the progress bar | | ||
| `app:strokeWidth` | dimension | The width of the progress bar line | | ||
| `app:dynamicLayout` | boolean | If the progress bar should change in height as slack changes | | ||
|
||
--- | ||
###Download | ||
|
||
```groovy | ||
repositories { | ||
maven { | ||
url "https://jitpack.io" | ||
} | ||
} | ||
dependencies { | ||
compile 'com.github.cdeange:RopeProgressBar:0.1.0' | ||
} | ||
``` | ||
|
||
--- | ||
###Developed By | ||
- Christian De Angelis - <de@ngelis.com> | ||
|
||
--- | ||
###License | ||
|
||
``` | ||
Copyright 2015 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. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
``` |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.