aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/activity_manage_profiles.xml
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-10-20 21:33:19 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-10-20 21:33:19 +0900
commit80da52849a657632507fef9a0b360aad9b3e2af3 (patch)
tree31bbda869fba6c3e8ad40d9110d7eed9644ab639 /app/src/main/res/layout/activity_manage_profiles.xml
parent2837ecb06477ac188e424f7798efae7245edfc23 (diff)
downloadSmileEssence-80da52849a657632507fef9a0b360aad9b3e2af3.tar.gz
update manageprofiles
Diffstat (limited to 'app/src/main/res/layout/activity_manage_profiles.xml')
-rw-r--r--app/src/main/res/layout/activity_manage_profiles.xml34
1 files changed, 25 insertions, 9 deletions
diff --git a/app/src/main/res/layout/activity_manage_profiles.xml b/app/src/main/res/layout/activity_manage_profiles.xml
index 81f2606e..d51f7557 100644
--- a/app/src/main/res/layout/activity_manage_profiles.xml
+++ b/app/src/main/res/layout/activity_manage_profiles.xml
@@ -1,17 +1,33 @@
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical">
+ xmlns:app="http://schemas.android.com/apk/res-auto">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
+ <android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="?attr/colorPrimary"
- android:elevation="4dp" />
+ android:layout_height="wrap_content">
+
+ <android.support.v7.widget.Toolbar
+ android:id="@+id/toolbar"
+ android:layout_width="match_parent"
+ android:layout_height="?attr/actionBarSize"
+ android:background="?attr/colorPrimary"
+ android:elevation="4dp" />
+
+ </android.support.design.widget.AppBarLayout>
<android.support.v7.widget.RecyclerView
android:id="@+id/profiles"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
-</LinearLayout>
+ android:layout_height="match_parent"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior" />
+
+ <android.support.design.widget.FloatingActionButton
+ android:id="@+id/fab"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom|end"
+ android:layout_margin="@dimen/fab_margin"
+ android:src="@drawable/ic_add_black_24dp" />
+
+</android.support.design.widget.CoordinatorLayout>