1 <?xml version="1.0" encoding="utf-8"?><!--
2 ~ Copyright © 2019 Damyan Ivanov.
3 ~ This file is part of MoLe.
4 ~ MoLe is free software: you can distribute it and/or modify it
5 ~ under the term of the GNU General Public License as published by
6 ~ the Free Software Foundation, either version 3 of the License, or
7 ~ (at your opinion), any later version.
9 ~ MoLe is distributed in the hope that it will be useful,
10 ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ~ GNU General Public License terms for details.
14 ~ You should have received a copy of the GNU General Public License
15 ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
18 <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:app="http://schemas.android.com/apk/res-auto"
20 xmlns:tools="http://schemas.android.com/tools"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent"
23 android:fitsSystemWindows="true"
24 tools:context=".ui.activity.ProfileListActivity">
26 <android.support.design.widget.AppBarLayout
27 android:id="@+id/app_bar"
28 android:layout_width="match_parent"
29 android:layout_height="@dimen/app_bar_height"
30 android:theme="@style/AppTheme.AppBarOverlay">
32 <android.support.design.widget.CollapsingToolbarLayout
33 android:layout_width="match_parent"
34 android:layout_height="match_parent"
35 app:layout_scrollFlags="scroll|exitUntilCollapsed">
37 <android.support.v7.widget.Toolbar
38 android:id="@+id/toolbar"
39 android:layout_width="match_parent"
40 app:layout_collapseMode="pin"
41 android:layout_height="?attr/actionBarSize"
42 app:popupTheme="@style/AppTheme.PopupOverlay" />
43 </android.support.design.widget.CollapsingToolbarLayout>
45 </android.support.design.widget.AppBarLayout>
47 <android.support.v4.widget.NestedScrollView
48 android:id="@+id/frameLayout"
49 android:layout_width="match_parent"
50 android:layout_height="match_parent"
51 app:layout_behavior="@string/appbar_scrolling_view_behavior">
53 <include layout="@layout/profile_list" />
54 </android.support.v4.widget.NestedScrollView>
56 </android.support.design.widget.CoordinatorLayout>