43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<selector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<item
|
|
state_enabled="true"
|
|
state_hovered="true">
|
|
<objectAnimator
|
|
android:interpolator="?attr/motionEasingEmphasizedInterpolator"
|
|
android:duration="?attr/motionDurationMedium4"
|
|
android:valueTo="2dp"
|
|
android:valueType="floatType"
|
|
android:propertyName="translationZ"
|
|
android:startDelay="?attr/motionDurationMedium1"/>
|
|
</item>
|
|
<item
|
|
state_enabled="true"
|
|
NOT_FOUND_0x8="true">
|
|
<objectAnimator
|
|
android:interpolator="?attr/motionEasingEmphasizedInterpolator"
|
|
android:duration="?attr/motionDurationMedium4"
|
|
android:valueTo="7dp"
|
|
android:valueType="floatType"
|
|
android:propertyName="translationZ"
|
|
android:startDelay="?attr/motionDurationMedium1"/>
|
|
</item>
|
|
<item>
|
|
<set>
|
|
<objectAnimator
|
|
android:interpolator="?attr/motionEasingEmphasizedInterpolator"
|
|
android:duration="?attr/motionDurationLong2"
|
|
android:valueTo="0dp"
|
|
android:valueType="floatType"
|
|
android:propertyName="translationZ"/>
|
|
</set>
|
|
</item>
|
|
<item>
|
|
<objectAnimator
|
|
android:duration="0"
|
|
android:valueTo="0dp"
|
|
android:valueType="floatType"
|
|
android:propertyName="translationZ"/>
|
|
</item>
|
|
</selector>
|