aboutsummaryrefslogtreecommitdiff
path: root/library/src/main/res
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-21 23:10:36 -0700
committerAllan Wang <me@allanwang.ca>2017-06-21 23:10:36 -0700
commit9fe5ba444e6622fa96216873e59af1cad7ec081e (patch)
treed3c483528838ac8bcd3545424d807d8b1b434d15 /library/src/main/res
parent621c083b4ee1a81c67665ebf4b442f0ea98b5d4a (diff)
downloadkau-9fe5ba444e6622fa96216873e59af1cad7ec081e.tar.gz
kau-9fe5ba444e6622fa96216873e59af1cad7ec081e.tar.bz2
kau-9fe5ba444e6622fa96216873e59af1cad7ec081e.zip
Finalize sub item preferences
Diffstat (limited to 'library/src/main/res')
-rw-r--r--library/src/main/res/anim/kau_slide_in_left.xml4
-rw-r--r--library/src/main/res/anim/kau_slide_out_left.xml4
-rw-r--r--library/src/main/res/layout/kau_activity_kpref.xml12
3 files changed, 15 insertions, 5 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
index 9322741..828bdae 100644
--- a/library/src/main/res/anim/kau_slide_in_left.xml
+++ b/library/src/main/res/anim/kau_slide_in_left.xml
@@ -2,6 +2,6 @@
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="@android:integer/config_shortAnimTime"
- android:fromXDelta="0"
- android:toXDelta="100%p" />
+ 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
index 0f9fbce..6fab33e 100644
--- a/library/src/main/res/anim/kau_slide_out_left.xml
+++ b/library/src/main/res/anim/kau_slide_out_left.xml
@@ -2,6 +2,6 @@
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="@android:integer/config_shortAnimTime"
- android:fromXDelta="100%p"
- android:toXDelta="0" />
+ android:fromXDelta="0"
+ android:toXDelta="-100%p" />
</set> \ No newline at end of file
diff --git a/library/src/main/res/layout/kau_activity_kpref.xml b/library/src/main/res/layout/kau_activity_kpref.xml
index 390674f..acc1f76 100644
--- a/library/src/main/res/layout/kau_activity_kpref.xml
+++ b/library/src/main/res/layout/kau_activity_kpref.xml
@@ -21,7 +21,17 @@
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
+ app:layout_constraintTop_toTopOf="parent">
+
+ <ca.allanwang.kau.views.TextSwitcherThemed
+ android:id="@+id/kau_toolbar_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:textAppearance="@style/TextAppearance.AppCompat.Title"
+ android:textColor="@android:color/white" />
+
+ </android.support.v7.widget.Toolbar>
<ca.allanwang.kau.views.RippleCanvas
android:id="@+id/kau_ripple"