File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Add the dependency
3434
3535``` groovy
3636dependencies {
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
7982See [ sample] ( https://github.com/zagum/Android-ExpandIcon/tree/master/expandicon-sample ) project for more information.
You can’t perform that action at this time.
0 commit comments