41 lines
1.5 KiB
XML
41 lines
1.5 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="1dp"
|
||
|
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="6dp"
|
||
|
android:valueType="floatType"
|
||
|
android:propertyName="translationZ"
|
||
|
android:startDelay="?attr/motionDurationMedium1"/>
|
||
|
</item>
|
||
|
<item state_enabled="true">
|
||
|
<objectAnimator
|
||
|
android:interpolator="?attr/motionEasingEmphasizedInterpolator"
|
||
|
android:duration="?attr/motionDurationLong2"
|
||
|
android:valueTo="0dp"
|
||
|
android:valueType="floatType"
|
||
|
android:propertyName="translationZ"/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<objectAnimator
|
||
|
android:duration="0"
|
||
|
android:valueTo="0dp"
|
||
|
android:valueType="floatType"
|
||
|
android:propertyName="translationZ"/>
|
||
|
</item>
|
||
|
</selector>
|