Skip to content

Commit 56c6105

Browse files
author
xiangdong.cheng
committed
* 'master' of https://github.com/StevenDXC/DxLoadingButton: Update README.md Update README.md Update README.md Update README.md
2 parents 495161e + c5e412c commit 56c6105

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ layout:
2929
android:layout_height="wrap_content"
3030
app:lb_resetAfterFailed="true"
3131
app:lb_btnRippleColor="#000000"
32+
app:lb_btnDisabledColor="#cccccc"
33+
app:lb_disabledTextColor="999999"
3234
app:lb_btnText="@string/button_text"
3335
/>
3436
```
@@ -65,6 +67,14 @@ reset:
6567
lb.reset();
6668
```
6769

70+
71+
### release 1.7
72+
73+
add setEnable(true/false) logic for touchEvent,and add lb_btnDisabledColor & lb_disabledTextColor for display.
74+
75+
* notice: lb_btnDisabledColor & lb_disabledTextColor only display while LoadingButton is normal button state, LoadingButton is playing animation or other state will display normal color
76+
77+
6878
dependency
6979
---
7080
Add it in your root build.gradle at the end of repositories:
@@ -81,6 +91,6 @@ add dependency:
8191

8292
```java
8393
dependencies {
84-
compile 'com.github.StevenDXC:DxLoadingButton:1.5'
94+
compile 'com.github.StevenDXC:DxLoadingButton:1.7'
8595
}
8696
```

0 commit comments

Comments
 (0)