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

51 lines
1.8 KiB
XML
Raw Permalink 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_hovered="true">
<set>
<objectAnimator
android:duration="100"
android:valueTo="1dp"
android:valueType="floatType"
android:propertyName="translationZ"/>
<objectAnimator
android:duration="0"
android:valueTo="1dp"
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="1dp"
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>