summaryrefslogtreecommitdiff
path: root/ui/common/src
diff options
context:
space:
mode:
Diffstat (limited to 'ui/common/src')
-rw-r--r--ui/common/src/main/res/anim/fade_in.xml9
-rw-r--r--ui/common/src/main/res/anim/fade_out.xml10
-rw-r--r--ui/common/src/main/res/anim/slide_left_in.xml9
-rw-r--r--ui/common/src/main/res/anim/slide_left_out.xml9
-rw-r--r--ui/common/src/main/res/anim/slide_right_in.xml9
-rw-r--r--ui/common/src/main/res/anim/slide_right_out.xml9
-rw-r--r--ui/common/src/main/res/values/integers.xml3
7 files changed, 58 insertions, 0 deletions
diff --git a/ui/common/src/main/res/anim/fade_in.xml b/ui/common/src/main/res/anim/fade_in.xml
new file mode 100644
index 000000000..7d2fea5a6
--- /dev/null
+++ b/ui/common/src/main/res/anim/fade_in.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <alpha
+ android:duration="@integer/fragment_transition_duration"
+ android:fromAlpha="0.0"
+ android:interpolator="@android:anim/accelerate_interpolator"
+ android:toAlpha="1.0" />
+</set> \ No newline at end of file
diff --git a/ui/common/src/main/res/anim/fade_out.xml b/ui/common/src/main/res/anim/fade_out.xml
new file mode 100644
index 000000000..ecfb092ae
--- /dev/null
+++ b/ui/common/src/main/res/anim/fade_out.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <alpha
+ android:duration="@integer/fragment_transition_duration"
+ android:fromAlpha="1.0"
+ android:interpolator="@android:anim/accelerate_interpolator"
+ android:toAlpha="0.0" />
+
+</set> \ No newline at end of file
diff --git a/ui/common/src/main/res/anim/slide_left_in.xml b/ui/common/src/main/res/anim/slide_left_in.xml
new file mode 100644
index 000000000..288e06dd8
--- /dev/null
+++ b/ui/common/src/main/res/anim/slide_left_in.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shareInterpolator="false">
+ <translate
+ android:fromXDelta="-100%" android:toXDelta="0%"
+ android:fromYDelta="0%" android:toYDelta="0%"
+ android:duration="@integer/fragment_transition_duration"
+ android:interpolator="@android:anim/accelerate_decelerate_interpolator" />
+</set>
diff --git a/ui/common/src/main/res/anim/slide_left_out.xml b/ui/common/src/main/res/anim/slide_left_out.xml
new file mode 100644
index 000000000..873947de4
--- /dev/null
+++ b/ui/common/src/main/res/anim/slide_left_out.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shareInterpolator="false">
+ <translate
+ android:fromXDelta="0%" android:toXDelta="-100%"
+ android:fromYDelta="0%" android:toYDelta="0%"
+ android:duration="@integer/fragment_transition_duration"
+ android:interpolator="@android:anim/accelerate_decelerate_interpolator" />
+</set>
diff --git a/ui/common/src/main/res/anim/slide_right_in.xml b/ui/common/src/main/res/anim/slide_right_in.xml
new file mode 100644
index 000000000..a00815052
--- /dev/null
+++ b/ui/common/src/main/res/anim/slide_right_in.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shareInterpolator="false">
+ <translate
+ android:fromXDelta="100%" android:toXDelta="0%"
+ android:fromYDelta="0%" android:toYDelta="0%"
+ android:duration="@integer/fragment_transition_duration"
+ android:interpolator="@android:anim/accelerate_decelerate_interpolator" />
+</set>
diff --git a/ui/common/src/main/res/anim/slide_right_out.xml b/ui/common/src/main/res/anim/slide_right_out.xml
new file mode 100644
index 000000000..46de69db3
--- /dev/null
+++ b/ui/common/src/main/res/anim/slide_right_out.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shareInterpolator="false">
+ <translate
+ android:fromXDelta="0%" android:toXDelta="100%"
+ android:fromYDelta="0%" android:toYDelta="0%"
+ android:duration="@integer/fragment_transition_duration"
+ android:interpolator="@android:anim/accelerate_decelerate_interpolator" />
+</set>
diff --git a/ui/common/src/main/res/values/integers.xml b/ui/common/src/main/res/values/integers.xml
new file mode 100644
index 000000000..db5f6f01d
--- /dev/null
+++ b/ui/common/src/main/res/values/integers.xml
@@ -0,0 +1,3 @@
+<resources>
+ <integer name="fragment_transition_duration">300</integer>
+</resources>