|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<selector xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | + <item android:state_checked="true"> |
| 4 | + <set xmlns:android="http://schemas.android.com/apk/res/android"> |
| 5 | + <objectAnimator |
| 6 | + android:duration="@android:integer/config_shortAnimTime" |
| 7 | + android:propertyName="scaleX" |
| 8 | + android:valueTo="1.525" |
| 9 | + android:valueType="floatType"/> |
| 10 | + <objectAnimator |
| 11 | + android:duration="@android:integer/config_shortAnimTime" |
| 12 | + android:propertyName="scaleY" |
| 13 | + android:valueTo="1.525" |
| 14 | + android:valueType="floatType"/> |
| 15 | + <objectAnimator |
| 16 | + android:duration="@android:integer/config_shortAnimTime" |
| 17 | + android:propertyName="translationZ" |
| 18 | + android:valueTo="4dp" |
| 19 | + android:valueType="floatType"/> |
| 20 | + |
| 21 | + <objectAnimator |
| 22 | + android:duration="@android:integer/config_shortAnimTime" |
| 23 | + android:propertyName="scaleX" |
| 24 | + android:startOffset="@android:integer/config_shortAnimTime" |
| 25 | + android:valueTo="1.0" |
| 26 | + android:valueType="floatType"/> |
| 27 | + <objectAnimator |
| 28 | + android:duration="@android:integer/config_shortAnimTime" |
| 29 | + android:propertyName="scaleY" |
| 30 | + android:startOffset="@android:integer/config_shortAnimTime" |
| 31 | + android:valueTo="1.0" |
| 32 | + android:valueType="floatType"/> |
| 33 | + <objectAnimator |
| 34 | + android:duration="@android:integer/config_shortAnimTime" |
| 35 | + android:propertyName="translationZ" |
| 36 | + android:startOffset="@android:integer/config_shortAnimTime" |
| 37 | + android:valueTo="0dp" |
| 38 | + android:valueType="floatType"/> |
| 39 | + |
| 40 | + </set> |
| 41 | + |
| 42 | + </item> |
| 43 | + |
| 44 | + <item> |
| 45 | + <set> |
| 46 | + <objectAnimator |
| 47 | + android:duration="@android:integer/config_shortAnimTime" |
| 48 | + android:propertyName="scaleX" |
| 49 | + android:valueTo="1.525" |
| 50 | + android:valueType="floatType"/> |
| 51 | + <objectAnimator |
| 52 | + android:duration="@android:integer/config_shortAnimTime" |
| 53 | + android:propertyName="scaleY" |
| 54 | + android:valueTo="1.525" |
| 55 | + android:valueType="floatType"/> |
| 56 | + <objectAnimator |
| 57 | + android:duration="@android:integer/config_shortAnimTime" |
| 58 | + android:propertyName="translationZ" |
| 59 | + android:valueTo="4dp" |
| 60 | + android:valueType="floatType"/> |
| 61 | + |
| 62 | + <objectAnimator |
| 63 | + android:duration="@android:integer/config_shortAnimTime" |
| 64 | + android:propertyName="scaleX" |
| 65 | + android:startOffset="@android:integer/config_shortAnimTime" |
| 66 | + android:valueTo="1.0" |
| 67 | + android:valueType="floatType"/> |
| 68 | + <objectAnimator |
| 69 | + android:duration="@android:integer/config_shortAnimTime" |
| 70 | + android:propertyName="scaleY" |
| 71 | + android:startOffset="@android:integer/config_shortAnimTime" |
| 72 | + android:valueTo="1.0" |
| 73 | + android:valueType="floatType"/> |
| 74 | + <objectAnimator |
| 75 | + android:duration="@android:integer/config_shortAnimTime" |
| 76 | + android:propertyName="translationZ" |
| 77 | + android:startOffset="@android:integer/config_shortAnimTime" |
| 78 | + android:valueTo="0dp" |
| 79 | + android:valueType="floatType"/> |
| 80 | + </set> |
| 81 | + </item> |
| 82 | +</selector> |
0 commit comments