aboutsummaryrefslogtreecommitdiff
path: root/library/src/main/res
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-12 20:01:34 -0700
committerAllan Wang <me@allanwang.ca>2017-06-12 20:01:34 -0700
commit1805793c7cea8a3c56a8111e0a80d7ac5da95f63 (patch)
tree204a801f948e6f2e22b16ee5414da4b99c96a4bc /library/src/main/res
parent37a2059fa15f23093fc38bca236f517ef96b030d (diff)
downloadkau-1805793c7cea8a3c56a8111e0a80d7ac5da95f63.tar.gz
kau-1805793c7cea8a3c56a8111e0a80d7ac5da95f63.tar.bz2
kau-1805793c7cea8a3c56a8111e0a80d7ac5da95f63.zip
Add sliding activities
Diffstat (limited to 'library/src/main/res')
-rw-r--r--library/src/main/res/anim/kau_fade_in.xml5
-rw-r--r--library/src/main/res/anim/kau_fade_out.xml5
-rw-r--r--library/src/main/res/anim/kau_slide_out_right_top.xml8
3 files changed, 18 insertions, 0 deletions
diff --git a/library/src/main/res/anim/kau_fade_in.xml b/library/src/main/res/anim/kau_fade_in.xml
new file mode 100644
index 0000000..03312a2
--- /dev/null
+++ b/library/src/main/res/anim/kau_fade_in.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<alpha xmlns:android="http://schemas.android.com/apk/res/android"
+ android:duration="@android:integer/config_shortAnimTime"
+ android:fromAlpha="0.0"
+ android:toAlpha="1.0" /> \ No newline at end of file
diff --git a/library/src/main/res/anim/kau_fade_out.xml b/library/src/main/res/anim/kau_fade_out.xml
new file mode 100644
index 0000000..322befc
--- /dev/null
+++ b/library/src/main/res/anim/kau_fade_out.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<alpha xmlns:android="http://schemas.android.com/apk/res/android"
+ android:duration="@android:integer/config_shortAnimTime"
+ android:fromAlpha="1.0"
+ android:toAlpha="0.0" /> \ No newline at end of file
diff --git a/library/src/main/res/anim/kau_slide_out_right_top.xml b/library/src/main/res/anim/kau_slide_out_right_top.xml
new file mode 100644
index 0000000..5b63474
--- /dev/null
+++ b/library/src/main/res/anim/kau_slide_out_right_top.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:zAdjustment="top">
+ <translate
+ android:duration="@android:integer/config_shortAnimTime"
+ android:fromXDelta="0"
+ android:toXDelta="100%p" />
+</set> \ No newline at end of file