summaryrefslogtreecommitdiff
path: root/main/src/ui/res/anim/fab_anim.xml
blob: 498533e092812c7badf4052965d7e136760ca69a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright (c) 2012-2016 Arne Schwabe
  ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
  -->

<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:valueFrom="@dimen/elevation_low"
        android:valueTo="@dimen/elevation_high"
        android:valueType="floatType"/>
</item>
<item>
    <objectAnimator
        android:propertyName="translationZ"
        android:duration="@android:integer/config_shortAnimTime"
        android:valueFrom="@dimen/elevation_high"
        android:valueTo="@dimen/elevation_low"
        android:valueType="floatType"/>
</item>
</selector>