Skip to content

Commit fccdae0

Browse files
Piotr Zawadzkizawadz88
authored andcommitted
Fix for issue #113 i.e. error tab animation glitch below Lollipop.
1 parent 7cf654e commit fccdae0

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

material-stepper/src/main/res/drawable/ms_animated_vector_circle_to_warning_24dp.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,6 @@
44
android:drawable="@drawable/ms_vector_circle_24dp"
55
tools:targetApi="lollipop">
66

7-
<target android:name="circle">
8-
<aapt:attr name="android:animation">
9-
<!-- This hack is needed since setting duration to 0 and startOffset to 300 does not trigger the animation... -->
10-
<objectAnimator
11-
android:duration="1"
12-
android:startOffset="299"
13-
android:propertyName="fillAlpha"
14-
android:valueFrom="1"
15-
android:valueTo="0" />
16-
</aapt:attr>
17-
</target>
18-
197
<target android:name="circle_group">
208
<aapt:attr name="android:animation">
219
<set>
@@ -47,4 +35,16 @@
4735
</aapt:attr>
4836
</target>
4937

38+
<target android:name="circle">
39+
<aapt:attr name="android:animation">
40+
<!-- This hack is needed since setting duration to 0 and startOffset to 300 does not trigger the animation... -->
41+
<objectAnimator
42+
android:duration="1"
43+
android:startOffset="299"
44+
android:propertyName="fillAlpha"
45+
android:valueFrom="1"
46+
android:valueTo="0" />
47+
</aapt:attr>
48+
</target>
49+
5050
</animated-vector>

0 commit comments

Comments
 (0)