aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-12 12:52:08 -0700
committerAllan Wang <me@allanwang.ca>2017-06-12 12:52:08 -0700
commit16d0ee60086f297d1d6a90e7f3d498e1e8764354 (patch)
tree93748accebd114bb9d05cd0b45a50624ea8e0761
parentaa747a2b154cebfdcdde93b68b674d776d964558 (diff)
downloadkau-16d0ee60086f297d1d6a90e7f3d498e1e8764354.tar.gz
kau-16d0ee60086f297d1d6a90e7f3d498e1e8764354.tar.bz2
kau-16d0ee60086f297d1d6a90e7f3d498e1e8764354.zip
Add anim xml
-rw-r--r--library/src/main/res/anim/kau_slide_in_left.xml7
-rw-r--r--library/src/main/res/anim/kau_slide_in_right.xml7
-rw-r--r--library/src/main/res/anim/kau_slide_out_left.xml7
-rw-r--r--library/src/main/res/anim/kau_slide_out_right.xml7
4 files changed, 28 insertions, 0 deletions
diff --git a/library/src/main/res/anim/kau_slide_in_left.xml b/library/src/main/res/anim/kau_slide_in_left.xml
new file mode 100644
index 0000000..9322741
--- /dev/null
+++ b/library/src/main/res/anim/kau_slide_in_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%p" />
+</set> \ No newline at end of file
diff --git a/library/src/main/res/anim/kau_slide_in_right.xml b/library/src/main/res/anim/kau_slide_in_right.xml
new file mode 100644
index 0000000..0f9fbce
--- /dev/null
+++ b/library/src/main/res/anim/kau_slide_in_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%p"
+ android:toXDelta="0" />
+</set> \ No newline at end of file
diff --git a/library/src/main/res/anim/kau_slide_out_left.xml b/library/src/main/res/anim/kau_slide_out_left.xml
new file mode 100644
index 0000000..0f9fbce
--- /dev/null
+++ b/library/src/main/res/anim/kau_slide_out_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%p"
+ android:toXDelta="0" />
+</set> \ No newline at end of file
diff --git a/library/src/main/res/anim/kau_slide_out_right.xml b/library/src/main/res/anim/kau_slide_out_right.xml
new file mode 100644
index 0000000..9322741
--- /dev/null
+++ b/library/src/main/res/anim/kau_slide_out_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%p" />
+</set> \ No newline at end of file