<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
    <selector>

        <item android:state_enabled="true" android:state_pressed="true">
            <set>
                <objectAnimator android:duration="@android:integer/config_shortAnimTime"
                    android:propertyName="scaleX" android:valueTo="0.9"
                    android:valueType="floatType" />
                <objectAnimator android:duration="@android:integer/config_shortAnimTime"
                    android:propertyName="scaleY" android:valueTo="0.9"
                    android:valueType="floatType" />
                <objectAnimator android:duration="@android:integer/config_shortAnimTime"
                    android:propertyName="translationZ" android:valueTo="8dp"
                    android:valueType="floatType"/>
            </set>
        </item>

        <item android:state_enabled="true" android:state_pressed="false">
            <set>
                <objectAnimator android:duration="@android:integer/config_shortAnimTime"
                    android:propertyName="scaleX" android:valueTo="1"
                    android:valueType="floatType" />
                <objectAnimator android:duration="@android:integer/config_shortAnimTime"
                    android:propertyName="scaleY" android:valueTo="1"
                    android:valueType="floatType" />
                <objectAnimator android:duration="@android:integer/config_shortAnimTime"
                    android:propertyName="translationZ" android:valueTo="0dp"
                    android:valueType="floatType"/>
            </set>
        </item>

    </selector>
</set>