diff options
author | Hermes Junior <ohermesjunior@gmail.com> | 2020-07-09 11:38:15 +0000 |
---|---|---|
committer | OHermesJunior <ohermesjunior@gmail.com> | 2020-07-09 11:38:15 +0000 |
commit | d03533b9b98cc5acdf4b77ab1aabdc31b27f7ada (patch) | |
tree | 292e36476d80ee4dd35acb243ee6920a87874851 /app/src/main/res | |
parent | 70264ee6321660414069cda09ce076eb007478d4 (diff) | |
download | infinity-for-reddit-d03533b9b98cc5acdf4b77ab1aabdc31b27f7ada.tar infinity-for-reddit-d03533b9b98cc5acdf4b77ab1aabdc31b27f7ada.tar.gz infinity-for-reddit-d03533b9b98cc5acdf4b77ab1aabdc31b27f7ada.tar.bz2 infinity-for-reddit-d03533b9b98cc5acdf4b77ab1aabdc31b27f7ada.tar.lz infinity-for-reddit-d03533b9b98cc5acdf4b77ab1aabdc31b27f7ada.tar.xz infinity-for-reddit-d03533b9b98cc5acdf4b77ab1aabdc31b27f7ada.tar.zst infinity-for-reddit-d03533b9b98cc5acdf4b77ab1aabdc31b27f7ada.zip |
Add settings screen animations.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/anim/enter_from_left.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/anim/enter_from_right.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/anim/exit_to_left.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/anim/exit_to_right.xml | 7 |
4 files changed, 28 insertions, 0 deletions
diff --git a/app/src/main/res/anim/enter_from_left.xml b/app/src/main/res/anim/enter_from_left.xml new file mode 100644 index 00000000..63b97c30 --- /dev/null +++ b/app/src/main/res/anim/enter_from_left.xml @@ -0,0 +1,7 @@ +<?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:fromXDelta="-100%" + android:toXDelta="0%" /> +</set> diff --git a/app/src/main/res/anim/enter_from_right.xml b/app/src/main/res/anim/enter_from_right.xml new file mode 100644 index 00000000..81e36503 --- /dev/null +++ b/app/src/main/res/anim/enter_from_right.xml @@ -0,0 +1,7 @@ +<?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:fromXDelta="100%" + android:toXDelta="0%" /> +</set> diff --git a/app/src/main/res/anim/exit_to_left.xml b/app/src/main/res/anim/exit_to_left.xml new file mode 100644 index 00000000..c7860ef8 --- /dev/null +++ b/app/src/main/res/anim/exit_to_left.xml @@ -0,0 +1,7 @@ +<?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:fromXDelta="0%" + android:toXDelta="-100%" /> +</set> diff --git a/app/src/main/res/anim/exit_to_right.xml b/app/src/main/res/anim/exit_to_right.xml new file mode 100644 index 00000000..0bb959fb --- /dev/null +++ b/app/src/main/res/anim/exit_to_right.xml @@ -0,0 +1,7 @@ +<?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:fromXDelta="0%" + android:toXDelta="100%" /> +</set> |