aboutsummaryrefslogtreecommitdiff
path: root/library/src/main/res/layout
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-10 23:46:02 -0700
committerAllan Wang <me@allanwang.ca>2017-06-10 23:46:02 -0700
commitc00f9e2674f5109a64f1f50873ce08089a2fce33 (patch)
treef12b43da762a34b9e803c48c9d53be473cff9c54 /library/src/main/res/layout
parent93846b3df8fd838a3277f5bacaa99e4ffb59012a (diff)
downloadkau-c00f9e2674f5109a64f1f50873ce08089a2fce33.tar.gz
kau-c00f9e2674f5109a64f1f50873ce08089a2fce33.tar.bz2
kau-c00f9e2674f5109a64f1f50873ce08089a2fce33.zip
Create kpref activity base
Diffstat (limited to 'library/src/main/res/layout')
-rw-r--r--library/src/main/res/layout/kau_activity_kpref.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/library/src/main/res/layout/kau_activity_kpref.xml b/library/src/main/res/layout/kau_activity_kpref.xml
new file mode 100644
index 0000000..35f16cd
--- /dev/null
+++ b/library/src/main/res/layout/kau_activity_kpref.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <ca.allanwang.kau.views.RippleCanvas
+ android:id="@+id/kau_toolbar_ripple"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintBottom_toBottomOf="@+id/kau_toolbar" />
+
+ <android.support.v7.widget.Toolbar
+ android:id="@id/kau_toolbar"
+ android:layout_width="0dp"
+ android:layout_height="?attr/actionBarSize"
+ android:layout_marginTop="@dimen/kau_status_bar_height"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <ca.allanwang.kau.views.RippleCanvas
+ android:id="@+id/kau_ripple"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/kau_toolbar" />
+
+ <android.support.v7.widget.RecyclerView
+ android:id="@+id/kau_recycler"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/kau_toolbar" />
+
+</android.support.constraint.ConstraintLayout>