aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/anim
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2020-06-16 07:26:51 +0000
committerGitHub <noreply@github.com>2020-06-16 07:26:51 +0000
commit62879f8dc2ad9abc514939586ccda01806538933 (patch)
treea5fdd0d89c68ddd2cd104d57629a70d8f18b036a /app/src/main/res/anim
parent49c2c7a7467a1202760b9763e5fcbb1fb1d982a3 (diff)
parentfea972727c60f623bd8062868e94fc866e1096b0 (diff)
downloadinfinity-for-reddit-62879f8dc2ad9abc514939586ccda01806538933.tar
infinity-for-reddit-62879f8dc2ad9abc514939586ccda01806538933.tar.gz
infinity-for-reddit-62879f8dc2ad9abc514939586ccda01806538933.tar.bz2
infinity-for-reddit-62879f8dc2ad9abc514939586ccda01806538933.tar.lz
infinity-for-reddit-62879f8dc2ad9abc514939586ccda01806538933.tar.xz
infinity-for-reddit-62879f8dc2ad9abc514939586ccda01806538933.tar.zst
infinity-for-reddit-62879f8dc2ad9abc514939586ccda01806538933.zip
Merge branch 'master' into refactor-view-image
Diffstat (limited to 'app/src/main/res/anim')
-rw-r--r--app/src/main/res/anim/slide_out_down.xml12
-rw-r--r--app/src/main/res/anim/slide_out_up.xml12
2 files changed, 24 insertions, 0 deletions
diff --git a/app/src/main/res/anim/slide_out_down.xml b/app/src/main/res/anim/slide_out_down.xml
new file mode 100644
index 00000000..4c64d6c4
--- /dev/null
+++ b/app/src/main/res/anim/slide_out_down.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<set xmlns:android="http://schemas.android.com/apk/res/android">
+ <translate
+ android:duration="@android:integer/config_shortAnimTime"
+ android:fromYDelta="0"
+ android:toYDelta="+50%p" />
+ <alpha
+ android:duration="@android:integer/config_shortAnimTime"
+ android:fromAlpha="1.0"
+ android:toAlpha="0.0" />
+</set>
diff --git a/app/src/main/res/anim/slide_out_up.xml b/app/src/main/res/anim/slide_out_up.xml
new file mode 100644
index 00000000..945e2b7e
--- /dev/null
+++ b/app/src/main/res/anim/slide_out_up.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<set xmlns:android="http://schemas.android.com/apk/res/android">
+ <translate
+ android:duration="@android:integer/config_shortAnimTime"
+ android:fromYDelta="0"
+ android:toYDelta="-50%p" />
+ <alpha
+ android:duration="@android:integer/config_shortAnimTime"
+ android:fromAlpha="1.0"
+ android:toAlpha="0.0" />
+</set>