Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christiandeange/RopeProgressBar
Android ProgressBar that "bends" under its own weight. Inspired by http://drbl.in/nwih
https://github.com/christiandeange/RopeProgressBar
Last synced: about 6 hours ago
JSON representation
Android ProgressBar that "bends" under its own weight. Inspired by http://drbl.in/nwih
- Host: GitHub
- URL: https://github.com/christiandeange/RopeProgressBar
- Owner: christiandeange
- License: mit
- Created: 2015-06-17T21:22:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-23T23:33:50.000Z (over 7 years ago)
- Last Synced: 2023-11-07T15:02:56.086Z (about 1 year ago)
- Language: Java
- Size: 1.59 MB
- Stars: 206
- Watchers: 5
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-android-ui - https://github.com/cdeange/RopeProgressBar
- awesome-android-ui - https://github.com/cdeange/RopeProgressBar
README
# RopeProgressBar
Android ProgressBar that "bends" under its own weight.
![RopeProgressBar Animation](ropeprogressbar.gif)
---
### Attributes| Attribute | Type | Default | Usage |
| ------------------------ | --------- | ----------------------------- | ------------------------------------------------------------ |
| `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:ropePrimaryColor` defaults to [#009688](http://www.color-hex.com/color/009688) and `app:ropeSecondaryColor` defaults to [#DADADA](http://www.color-hex.com/color/dadada)*
---
### Download```groovy
repositories {
maven {
url "https://jitpack.io"
}
}dependencies {
compile 'com.github.cdeange:RopeProgressBar:0.1.2'
}
```---
### Developed By
- Christian De Angelis ----
### License```
Copyright 2017 Christian De AngelisLicensed 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 athttp://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.
```