blob: 8b33d89ef938cc8359259d454acde42ce5eb8d5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<objectAnimator
android:propertyName="translationZ"
android:duration="@android:integer/config_shortAnimTime"
android:valueTo="@dimen/fab_elevation_pressed"
android:valueType="floatType"/>
</item>
<item>
<objectAnimator
android:propertyName="translationZ"
android:duration="@android:integer/config_shortAnimTime"
android:valueTo="0dp"
android:valueType="floatType"/>
</item>
</selector>
|