File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Add the dependency
34
34
35
35
``` groovy
36
36
dependencies {
37
- compile 'com.github.zagum:Android-ExpandIcon:1.1.3 '
37
+ compile 'com.github.zagum:Android-ExpandIcon:1.2.0 '
38
38
}
39
39
```
40
40
@@ -61,6 +61,7 @@ Fully customized implementation:
61
61
app : eiv_color =" #000"
62
62
app : eiv_colorLess =" #f00"
63
63
app : eiv_colorMore =" #00f"
64
+ app : eiv_colorIntermediate =" #0f0"
64
65
app : eiv_roundedCorners =" false"
65
66
app : eiv_switchColor =" true"
66
67
app : eiv_padding =" 8dp" />
@@ -74,6 +75,8 @@ Public methods:
74
75
expandIconView. setState(ExpandIconView . LESS , true );
75
76
76
77
expandIconView. setFraction(.3f , true );
78
+
79
+ expandIconView. setAnimationDuration(2000 );
77
80
```
78
81
79
82
See [ 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