what-the-bank/resources/res/animator/2130837536.xml

83 lines
2.9 KiB
XML
Raw Normal View History

2024-07-27 18:17:47 +07:00
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<selector>
<item
state_enabled="true"
state_pressed="true">
<set>
<objectAnimator
android:duration="100"
android:valueTo="6dp"
android:valueType="floatType"
android:propertyName="translationZ"/>
<objectAnimator
android:duration="0"
android:valueTo="6dp"
android:valueType="floatType"
android:propertyName="elevation"/>
</set>
</item>
<item
state_enabled="true"
state_hovered="true">
<set>
<objectAnimator
android:duration="100"
android:valueTo="2dp"
android:valueType="floatType"
android:propertyName="translationZ"/>
<objectAnimator
android:duration="0"
android:valueTo="6dp"
android:valueType="floatType"
android:propertyName="elevation"/>
</set>
</item>
<item
state_focused="true"
state_enabled="true">
<set>
<objectAnimator
android:duration="100"
android:valueTo="2dp"
android:valueType="floatType"
android:propertyName="translationZ"/>
<objectAnimator
android:duration="0"
android:valueTo="6dp"
android:valueType="floatType"
android:propertyName="elevation"/>
</set>
</item>
<item state_enabled="true">
<set>
<objectAnimator
android:duration="100"
android:valueTo="0dp"
android:valueType="floatType"
android:propertyName="translationZ"
android:startDelay="100"/>
<objectAnimator
android:duration="0"
android:valueTo="6dp"
android:valueType="floatType"
android:propertyName="elevation"/>
</set>
</item>
<item>
<set>
<objectAnimator
android:duration="0"
android:valueTo="0dp"
android:valueType="floatType"
android:propertyName="translationZ"/>
<objectAnimator
android:duration="0"
android:valueTo="0dp"
android:valueType="floatType"
android:propertyName="elevation"/>
</set>
</item>
</selector>
</set>