diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-07-15 03:51:29 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-07-15 03:51:29 +0000 |
commit | 2d69170f4f6bd54efc472462d47f10988942bcba (patch) | |
tree | 7d5b4f09aa0fb8ae738dae9e16b8cf727a6d6614 /app/src/main/res/anim | |
parent | a9ba807cf42632b1744b5af5b9e1081575fecae5 (diff) | |
download | infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.tar infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.tar.gz infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.tar.bz2 infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.tar.lz infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.tar.xz infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.tar.zst infinity-for-reddit-2d69170f4f6bd54efc472462d47f10988942bcba.zip |
Add an option to ignore nav bar in ViewVideoActivity and ViewImgurVideoFragment. Use Hauler to do drag up or down to finish Activity in ViewVideoActivity and ViewImgurMediaActivity.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/anim/slide_out_down.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/anim/slide_out_up.xml | 12 |
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..f6fb89c8 --- /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>
\ No newline at end of file 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..fcbe785b --- /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>
\ No newline at end of file |