Skip to content

Commit fa3fb55

Browse files
committed
1. Implement selector for button background #4
Attributes changes - replaced `cpb_colorComplete` with `cpb_selectorComplete` - replaced `cpb_colorError` with `cpb_selectorError` - replaced `cpb_colorIdle` with `cpb_selectorIdle` - removed `cpb_colorDisabled` (now you can use above selector) 2. Added Custom Selector Sample
1 parent e38977c commit fa3fb55

5 files changed

Lines changed: 15 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 1.1.0 (Major API Changes)
2+
* Implement selector for button background #4
3+
* Added Custom Selector Sample
4+
* Replaced `cpb_colorComplete` with `cpb_selectorComplete`
5+
* Replaced `cpb_colorError` with `cpb_selectorError`
6+
* Replaced `cpb_colorIdle` with `cpb_selectorIdle`
7+
* Removed `cpb_colorDisabled` (now you can use above selector)
8+
19
## 1.0.5
210

311
* Implemented #9 Maintain state when rotate screen.
@@ -7,7 +15,7 @@
715
* Fixed issue #21 Progress changes are ignored when the animations are running.
816
* Added `cpb_colorDisabled` attribute, to change color when you call `setEnabled(false)` method.
917

10-
## 1.0.4
18+
## 1.0.4 (Major API Changes)
1119

1220
* Added support to some state changes with animation, eg. Idle to Complete or Idle to Error (Thanks to João Gouveia)
1321
* Implemented morph progress drawable to different size #14 (Thanks to Balys Valentukevicius)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Android Button which can morph to Circular Progress
44

5-
Latest version **1.0.5**
5+
Latest version **1.1.0**
66

77
![](screenshots/intro.gif)
88

@@ -18,7 +18,7 @@ The lib is available on Maven Central, you can find it with [Gradle, please]
1818

1919
```
2020
dependencies {
21-
compile 'com.github.dmytrodanylyk.circular-progress-button:library:1.0.5'
21+
compile 'com.github.dmytrodanylyk.circular-progress-button:library:1.1.0'
2222
}
2323
```
2424

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ COMPILE_SDK_VERSION=19
2323
MIN_SDK_VERSION=14
2424
TARGET_SDK_VERSION=19
2525

26-
VERSION_NAME=1.0.5
27-
VERSION_CODE=6
26+
VERSION_NAME=1.1.0
27+
VERSION_CODE=7
2828
GROUP=com.github.dmytrodanylyk.circular-progress-button
2929

3030
POM_DESCRIPTION=Android Button which can morph to Circular Progress

sample/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ android {
3232

3333
dependencies {
3434
compile fileTree(dir: 'libs', include: ['*.jar'])
35-
compile project(':library')
35+
compile 'com.github.dmytrodanylyk.circular-progress-button:library:1.1.0'
36+
// compile project(':library')
3637
}

screenshots/usage-9.gif

244 KB
Loading

0 commit comments

Comments
 (0)