https://github.com/bitvale/valueprogress
Android value progress library
https://github.com/bitvale/valueprogress
Last synced: 19 days ago
JSON representation
Android value progress library
- Host: GitHub
- URL: https://github.com/bitvale/valueprogress
- Owner: bitvale
- Created: 2018-11-23T22:38:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-27T13:46:46.000Z (about 5 years ago)
- Last Synced: 2025-04-08T21:23:46.090Z (about 2 months ago)
- Language: Kotlin
- Homepage:
- Size: 309 KB
- Stars: 22
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ValueProgress
[](https://opensource.org/licenses/Apache-2.0)
[](http://developer.android.com/index.html)
[](https://android-arsenal.com/api?level=16)Android value progress library.
USAGE
-----Just add ValueProgress view in your layout XML and ValueProgress library in your project via Gradle:
```gradle
dependencies {
implementation 'com.bitvale:valueprogress:1.0.1'
}
```XML
-----```xml
```
You must use the following properties in your XML to change your ValueProgress.
##### Properties:
* `app:progress_color` (drawable) -> default #52D99F
* `app:progress_width` (drawable) -> default none
* `app:progress_text_size` (dimension) -> default none
* `app:progress_text_color` (color) -> default #535353
* `app:progress_disabled_color` (color) -> default #EDEDED
* `app:progress_shadow_color` (color) -> default #CCCAC8C8
* `app:progress_background_color` (color) -> default #FFFFFF
* `app:progress_max_value` (float) -> default 100
* `app:progress_value_symbol` (string) -> default %Kotlin
-----The Progress will be animated after you set a percent value.
```kotlin
value_progress.progressMaxValue = 100
value_progress.percent = 25 // animation starts
```LICENCE
-----ValueProgress by [Alexander Kolpakov](https://play.google.com/store/apps/dev?id=7044571013168957413) is licensed under an [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).