<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_enabled="true" android:state_pressed="true">
        <set>
            <objectAnimator android:duration="100"
                            android:propertyName="translationZ"
                            android:valueTo="4dp"
                            android:valueType="floatType"/>
            <objectAnimator android:duration="0"
                            android:propertyName="elevation"
                            android:valueTo="2dp"
                            android:valueType="floatType"/>

        </set>
    </item>
    <item>
        <set>
            <objectAnimator android:duration="0"
                            android:propertyName="translationZ"
                            android:valueTo="0"
                            android:valueType="floatType"/>
            <objectAnimator android:duration="0"
                            android:propertyName="elevation"
                            android:valueTo="0"
                            android:valueType="floatType"/>
        </set>
    </item>
</selector>