diff options
Diffstat (limited to 'android/source/res/anim')
-rw-r--r-- | android/source/res/anim/fab_close.xml | 18 | ||||
-rw-r--r-- | android/source/res/anim/fab_open.xml | 19 |
2 files changed, 37 insertions, 0 deletions
diff --git a/android/source/res/anim/fab_close.xml b/android/source/res/anim/fab_close.xml new file mode 100644 index 000000000000..ba13b0f038be --- /dev/null +++ b/android/source/res/anim/fab_close.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android" + android:fillAfter="true"> + <scale + android:duration="300" + android:fromXScale="0.8" + android:fromYScale="0.8" + android:interpolator="@android:anim/linear_interpolator" + android:toXScale="0.0" + android:pivotX="50%" + android:pivotY="50%" + android:toYScale="0.0" /> + + <alpha android:fromAlpha="1.0" + android:toAlpha="0.0" + android:interpolator="@android:anim/accelerate_interpolator" + android:duration="300"/> +</set> diff --git a/android/source/res/anim/fab_open.xml b/android/source/res/anim/fab_open.xml new file mode 100644 index 000000000000..9099d8b53c80 --- /dev/null +++ b/android/source/res/anim/fab_open.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android" + android:fillAfter="true"> + <scale + android:duration="300" + android:fromXScale="0.0" + android:fromYScale="0.0" + android:interpolator="@android:anim/linear_interpolator" + android:toXScale="0.8" + android:pivotX="50%" + android:pivotY="50%" + android:toYScale="0.8"/> + + <alpha + android:fromAlpha="0.0" + android:toAlpha="1.0" + android:interpolator="@android:anim/accelerate_interpolator" + android:duration="300"/> +</set> |