Skip to content

Commit 88b0449

Browse files
author
zagum
committed
Merge remote-tracking branch 'origin/master'
2 parents eb3702e + 72d5cb9 commit 88b0449

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Add the dependency
3434

3535
```groovy
3636
dependencies {
37-
compile 'com.github.zagum:Android-ExpandIcon:1.1.3'
37+
compile 'com.github.zagum:Android-ExpandIcon:1.2.0'
3838
}
3939
```
4040

@@ -61,6 +61,7 @@ Fully customized implementation:
6161
app:eiv_color="#000"
6262
app:eiv_colorLess="#f00"
6363
app:eiv_colorMore="#00f"
64+
app:eiv_colorIntermediate="#0f0"
6465
app:eiv_roundedCorners="false"
6566
app:eiv_switchColor="true"
6667
app:eiv_padding="8dp"/>
@@ -74,6 +75,8 @@ Public methods:
7475
expandIconView.setState(ExpandIconView.LESS, true);
7576

7677
expandIconView.setFraction(.3f, true);
78+
79+
expandIconView.setAnimationDuration(2000);
7780
```
7881

7982
See [sample](https://github.com/zagum/Android-ExpandIcon/tree/master/expandicon-sample) project for more information.

0 commit comments

Comments
 (0)