diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-10-20 21:33:19 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-10-20 21:33:19 +0900 |
commit | 80da52849a657632507fef9a0b360aad9b3e2af3 (patch) | |
tree | 31bbda869fba6c3e8ad40d9110d7eed9644ab639 /app/src/main/res/layout/activity_manage_profiles.xml | |
parent | 2837ecb06477ac188e424f7798efae7245edfc23 (diff) | |
download | SmileEssence-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.xml | 34 |
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> |