]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/activity_profile_detail.xml
remove unused LinearLayout
[mobile-ledger.git] / app / src / main / res / layout / activity_profile_detail.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   ~ Copyright © 2019 Damyan Ivanov.
4   ~ This file is part of Mobile-Ledger.
5   ~ Mobile-Ledger is free software: you can distribute it and/or modify it
6   ~ under the term of the GNU General Public License as published by
7   ~ the Free Software Foundation, either version 3 of the License, or
8   ~ (at your opinion), any later version.
9   ~
10   ~ Mobile-Ledger is distributed in the hope that it will be useful,
11   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
12   ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13   ~ GNU General Public License terms for details.
14   ~
15   ~ You should have received a copy of the GNU General Public License
16   ~ along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
17   -->
18
19 <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
20     xmlns:app="http://schemas.android.com/apk/res-auto"
21     xmlns:tools="http://schemas.android.com/tools"
22     android:layout_width="match_parent"
23     android:layout_height="match_parent"
24     android:fitsSystemWindows="true"
25     tools:context=".ui.profiles.ProfileDetailActivity"
26     tools:ignore="MergeRootFrame">
27
28     <android.support.design.widget.AppBarLayout
29         android:id="@+id/app_bar"
30         android:layout_width="match_parent"
31         android:layout_height="@dimen/app_bar_height"
32         android:fitsSystemWindows="true"
33         android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
34
35         <android.support.design.widget.CollapsingToolbarLayout
36             android:id="@+id/toolbar_layout"
37             android:layout_width="match_parent"
38             android:layout_height="match_parent"
39             android:fitsSystemWindows="true"
40             app:contentScrim="?attr/colorPrimary"
41             app:layout_scrollFlags="scroll|exitUntilCollapsed"
42             app:toolbarId="@+id/toolbar">
43
44             <android.support.v7.widget.Toolbar
45                 android:id="@+id/detail_toolbar"
46                 android:layout_width="match_parent"
47                 android:layout_height="?attr/actionBarSize"
48                 app:layout_collapseMode="pin"
49                 app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
50
51         </android.support.design.widget.CollapsingToolbarLayout>
52
53     </android.support.design.widget.AppBarLayout>
54
55     <android.support.v4.widget.NestedScrollView
56         android:id="@+id/profile_detail_container"
57         android:layout_width="match_parent"
58         android:layout_height="match_parent"
59         app:layout_behavior="@string/appbar_scrolling_view_behavior" />
60
61     <android.support.design.widget.FloatingActionButton
62         android:id="@+id/fab"
63         android:layout_width="wrap_content"
64         android:layout_height="wrap_content"
65         android:layout_gravity="center_vertical|start"
66         android:layout_margin="@dimen/fab_margin"
67         app:layout_anchor="@+id/profile_detail_container"
68         app:layout_anchorGravity="top|end"
69         app:srcCompat="@drawable/ic_save_white_24dp" />
70
71 </android.support.design.widget.CoordinatorLayout>