diff options
author | bunnei <bunneidev@gmail.com> | 2022-12-31 03:09:03 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:27 +0200 |
commit | 5e198d1421372f7673f181666df76acc8ff1607d (patch) | |
tree | 31102f83a8115545ef00dc6b5ce6b6adc327adfd /src/android/app/src/main/res/animator/menu_slide_out_to_end.xml | |
parent | video_core: vk_blit_screen: Rotate viewport for Android landscape. (diff) | |
download | yuzu-5e198d1421372f7673f181666df76acc8ff1607d.tar yuzu-5e198d1421372f7673f181666df76acc8ff1607d.tar.gz yuzu-5e198d1421372f7673f181666df76acc8ff1607d.tar.bz2 yuzu-5e198d1421372f7673f181666df76acc8ff1607d.tar.lz yuzu-5e198d1421372f7673f181666df76acc8ff1607d.tar.xz yuzu-5e198d1421372f7673f181666df76acc8ff1607d.tar.zst yuzu-5e198d1421372f7673f181666df76acc8ff1607d.zip |
Diffstat (limited to 'src/android/app/src/main/res/animator/menu_slide_out_to_end.xml')
-rw-r--r-- | src/android/app/src/main/res/animator/menu_slide_out_to_end.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/android/app/src/main/res/animator/menu_slide_out_to_end.xml b/src/android/app/src/main/res/animator/menu_slide_out_to_end.xml new file mode 100644 index 000000000..d650237d6 --- /dev/null +++ b/src/android/app/src/main/res/animator/menu_slide_out_to_end.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android"> + + <!-- This animation is used ONLY when a submenu is replaced. --> + <objectAnimator + android:propertyName="translationX" + android:valueType="floatType" + android:valueFrom="0" + android:valueTo="1280dp" + android:interpolator="@android:interpolator/decelerate_quad" + android:duration="200"/> + + <objectAnimator + android:propertyName="alpha" + android:valueType="floatType" + android:valueFrom="1" + android:valueTo="0" + android:interpolator="@android:interpolator/decelerate_quad" + android:duration="200"/> + +</set> |