Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aliab authored Sep 10, 2017
1 parent ef2ced6 commit 970d23b
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ allprojects {
Step 2. Add the dependency
```groovy
dependencies {
compile 'com.github.aliab:circular-music-progressbar:v1.2.0'
compile 'com.github.aliab:circular-music-progressbar:v1.3.0'
}
```

Expand All @@ -46,7 +46,7 @@ Then add the view to your layout:
app:centercircle_diammterer="1"
app:progress_color="#80CBC4"
app:progress_startAngle="40"
app:draw_anticlockwise="false"/>
app:draw_anticlockwise="false"/>
```
## XML attributes

Expand All @@ -58,7 +58,7 @@ Then add the view to your layout:
app:centercircle_diammterer="1"
app:progress_color="#80CBC4"
app:progress_startAngle="40"
app:draw_anticlockwise="true"
app:draw_anticlockwise="true"
...
/>
```
Expand All @@ -79,10 +79,12 @@ Then add the view to your layout:
| Name | Description |
|:----:|:----:|
|setValue(float)| Change value of progress with animation|
|setValueWithNoAnimation(float)| Change value of progress with animation|
|setBorderProgressColor(Color)| Set progressbar active state color |
|setBorderColor(Color)| Set progressbar non-active state color |
|setProgressAnimationState(boolean)| Change state of progress value animation. set it to 'false' if you don't want any animation|
|setProgressAnimatorInterpolator(TimeInterpolator)| Change interpolator of animation to get more effect on animation|
|setOnCircularBarChangeListener(OnCircularSeekBarChangeListener listener)|Get an update if user want to seek to position or click on image|

Note: Because I extended ImageView you can use all ImageView public methods too.

Expand All @@ -98,12 +100,16 @@ Limitations
* ~~Animation interpolator setter~~
* ~~Animation disable/enable method~~
* ~~Support Anti-Clockwise progress~~
* ~~Drag to seek listener~~
* Buffering mode animation
* Drag to seek listener
* Change thickness of borderes independently
* Support shadow/glow

## Changelog
### v1.3.0

* Support drag to specific position
* Some measurement bug fix

### v1.2.0

Expand Down Expand Up @@ -134,7 +140,7 @@ Limitations
The MIT License (MIT)
Copyright (c) 2016 Ali Abdolahi
Copyright (c) 2017 Ali Abdolahi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 970d23b

Please sign in to comment.