diff options
Diffstat (limited to 'library/src/main/res')
-rw-r--r-- | library/src/main/res/anim/kau_slide_in_left.xml | 4 | ||||
-rw-r--r-- | library/src/main/res/anim/kau_slide_out_left.xml | 4 | ||||
-rw-r--r-- | library/src/main/res/layout/kau_activity_kpref.xml | 12 |
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" |