Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* 'master' of https://github.com/StevenDXC/DxLoadingButton:
  Update README.md
  Update README.md
  Update README.md
  Update README.md
  • Loading branch information
xiangdong.cheng committed Sep 29, 2017
2 parents 495161e + c5e412c commit 56c6105
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ layout:
android:layout_height="wrap_content"
app:lb_resetAfterFailed="true"
app:lb_btnRippleColor="#000000"
app:lb_btnDisabledColor="#cccccc"
app:lb_disabledTextColor="999999"
app:lb_btnText="@string/button_text"
/>
```
Expand Down Expand Up @@ -65,6 +67,14 @@ reset:
lb.reset();
```


### release 1.7

add setEnable(true/false) logic for touchEvent,and add lb_btnDisabledColor & lb_disabledTextColor for display.

* notice: lb_btnDisabledColor & lb_disabledTextColor only display while LoadingButton is normal button state, LoadingButton is playing animation or other state will display normal color


dependency
---
Add it in your root build.gradle at the end of repositories:
Expand All @@ -81,6 +91,6 @@ add dependency:

```java
dependencies {
compile 'com.github.StevenDXC:DxLoadingButton:1.5'
compile 'com.github.StevenDXC:DxLoadingButton:1.7'
}
```

0 comments on commit 56c6105

Please sign in to comment.