blob: 9e08f68a3ebc84de8c79d8f69b20e48b9cc2893b [file] [log] [blame]
<?xml version="1.0"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<set>
<objectAnimator android:propertyName="x" android:duration="100" android:valueTo="10" android:valueType="floatType"/>
<objectAnimator android:propertyName="y" android:duration="100" android:valueTo="20" android:valueType="floatType"/>
<objectAnimator android:propertyName="z" android:duration="100" android:valueTo="20" android:valueType="floatType"/>
</set>
</item>
<item android:state_enabled="true" android:state_pressed="false">
<set>
<objectAnimator android:propertyName="x" android:duration="100" android:valueTo="0" android:valueType="floatType"/>
<objectAnimator android:propertyName="y" android:duration="100" android:valueTo="0" android:valueType="floatType"/>
<objectAnimator android:propertyName="z" android:duration="100" android:valueTo="0" android:valueType="floatType"/>
</set>
</item>
<!-- base state-->
<item android:animation="@anim/reset_state_anim"/>
</selector>