diff options
Diffstat (limited to 'src/main/res/animator')
-rw-r--r-- | src/main/res/animator/fade_left_in.xml | 15 | ||||
-rw-r--r-- | src/main/res/animator/fade_left_out.xml | 15 | ||||
-rw-r--r-- | src/main/res/animator/fade_right_in.xml | 15 | ||||
-rw-r--r-- | src/main/res/animator/fade_right_out.xml | 15 |
4 files changed, 60 insertions, 0 deletions
diff --git a/src/main/res/animator/fade_left_in.xml b/src/main/res/animator/fade_left_in.xml new file mode 100644 index 000000000..fa53b49c7 --- /dev/null +++ b/src/main/res/animator/fade_left_in.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android" + android:duration="200" + android:shareInterpolator="@android:anim/accelerate_decelerate_interpolator"> + <objectAnimator + android:propertyName="translationX" + android:valueFrom="-200" + android:valueTo="0" + android:valueType="floatType" /> + <objectAnimator + android:propertyName="alpha" + android:valueFrom="0" + android:valueTo="1" + android:valueType="floatType" /> +</set>
\ No newline at end of file diff --git a/src/main/res/animator/fade_left_out.xml b/src/main/res/animator/fade_left_out.xml new file mode 100644 index 000000000..af002f57d --- /dev/null +++ b/src/main/res/animator/fade_left_out.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android" + android:duration="200" + android:shareInterpolator="@android:anim/accelerate_decelerate_interpolator"> + <objectAnimator + android:propertyName="translationX" + android:valueFrom="0" + android:valueTo="-200" + android:valueType="floatType" /> + <objectAnimator + android:propertyName="alpha" + android:valueFrom="1" + android:valueTo="0" + android:valueType="floatType" /> +</set>
\ No newline at end of file diff --git a/src/main/res/animator/fade_right_in.xml b/src/main/res/animator/fade_right_in.xml new file mode 100644 index 000000000..497ebb465 --- /dev/null +++ b/src/main/res/animator/fade_right_in.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android" + android:duration="200" + android:shareInterpolator="@android:anim/accelerate_decelerate_interpolator"> + <objectAnimator + android:propertyName="translationX" + android:valueFrom="200" + android:valueTo="0" + android:valueType="floatType" /> + <objectAnimator + android:propertyName="alpha" + android:valueFrom="0" + android:valueTo="1" + android:valueType="floatType" /> +</set>
\ No newline at end of file diff --git a/src/main/res/animator/fade_right_out.xml b/src/main/res/animator/fade_right_out.xml new file mode 100644 index 000000000..3d83be942 --- /dev/null +++ b/src/main/res/animator/fade_right_out.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android" + android:duration="200" + android:shareInterpolator="@android:anim/accelerate_decelerate_interpolator"> + <objectAnimator + android:propertyName="translationX" + android:valueFrom="0" + android:valueTo="200" + android:valueType="floatType" /> + <objectAnimator + android:propertyName="alpha" + android:valueFrom="1" + android:valueTo="0" + android:valueType="floatType" /> +</set>
\ No newline at end of file |