diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-05-05 22:28:32 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-05-05 22:28:32 +0200 |
commit | ac70233fa49c8fb2477a5b3d8752aa126791e372 (patch) | |
tree | 29883656ecb813c3145ad57c3c16029bd5cdec56 /src/main/res/animator | |
parent | 89cca15e77130eae3b1c79b054b72de01debeb57 (diff) |
add animators for more activities
Diffstat (limited to 'src/main/res/animator')
-rw-r--r-- | src/main/res/animator/fade_in.xml | 8 | ||||
-rw-r--r-- | src/main/res/animator/fade_out.xml | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/main/res/animator/fade_in.xml b/src/main/res/animator/fade_in.xml new file mode 100644 index 000000000..8307c7835 --- /dev/null +++ b/src/main/res/animator/fade_in.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android"> + <alpha xmlns:android="http://schemas.android.com/apk/res/android" + android:duration="200" + android:fromAlpha="0.0" + android:interpolator="@android:anim/accelerate_interpolator" + android:toAlpha="1.0" /> +</set>
\ No newline at end of file diff --git a/src/main/res/animator/fade_out.xml b/src/main/res/animator/fade_out.xml new file mode 100644 index 000000000..d5912c116 --- /dev/null +++ b/src/main/res/animator/fade_out.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android"> + <alpha xmlns:android="http://schemas.android.com/apk/res/android" + android:duration="200" + android:fromAlpha="1.0" + android:interpolator="@android:anim/anticipate_interpolator" + android:toAlpha="0.0" /> +</set>
\ No newline at end of file |