27 lines
821 B
XML
27 lines
821 B
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||
|
<item
|
||
|
state_enabled="true"
|
||
|
state_hovered="true">
|
||
|
<objectAnimator
|
||
|
android:duration="100"
|
||
|
android:valueTo="2dp"
|
||
|
android:valueType="floatType"
|
||
|
android:propertyName="translationZ"/>
|
||
|
</item>
|
||
|
<item state_enabled="true">
|
||
|
<objectAnimator
|
||
|
android:duration="100"
|
||
|
android:valueTo="0"
|
||
|
android:valueType="floatType"
|
||
|
android:propertyName="translationZ"/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<objectAnimator
|
||
|
android:duration="0"
|
||
|
android:valueTo="-1dp"
|
||
|
android:valueType="floatType"
|
||
|
android:propertyName="translationZ"/>
|
||
|
</item>
|
||
|
</selector>
|