2016-03-03 17:46:31 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2016-03-26 01:14:17 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-03-03 17:46:31 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true"
|
2016-03-29 19:38:50 +02:00
|
|
|
tools:context=".activity.MainActivity">
|
2016-03-03 17:46:31 +01:00
|
|
|
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-05 01:42:10 +02:00
|
|
|
android:fitsSystemWindows="true"
|
2016-03-03 17:46:31 +01:00
|
|
|
android:theme="@style/AppTheme.AppBarOverlay">
|
|
|
|
|
2016-06-05 01:42:10 +02:00
|
|
|
<android.support.design.widget.CollapsingToolbarLayout
|
|
|
|
android:id="@+id/collapsing_toolbar"
|
2016-03-03 17:46:31 +01:00
|
|
|
android:layout_width="match_parent"
|
2016-06-05 01:42:10 +02:00
|
|
|
android:layout_height="81dp"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
app:contentScrim="?attr/colorPrimary"
|
|
|
|
app:expandedTitleMarginEnd="64dp"
|
|
|
|
app:expandedTitleMarginStart="48dp"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways|snap"
|
2016-06-07 13:33:50 +02:00
|
|
|
app:titleEnabled="false">
|
2016-06-05 01:42:10 +02:00
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
|
|
|
app:popupTheme="@style/AppTheme.PopupOverlay" />
|
|
|
|
|
|
|
|
</android.support.design.widget.CollapsingToolbarLayout>
|
2016-03-03 17:46:31 +01:00
|
|
|
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
|
2016-06-04 11:11:51 +02:00
|
|
|
<include layout="@layout/main__content" />
|
2016-03-03 17:46:31 +01:00
|
|
|
|
2016-06-04 17:10:24 +02:00
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-05 01:42:10 +02:00
|
|
|
android:layout_gravity="bottom"
|
2016-06-21 16:18:19 +02:00
|
|
|
android:theme="@style/AppTheme.AppBarOverlay"
|
|
|
|
app:layout_behavior=".ui.BottomBarBehavior">
|
2016-03-03 17:46:31 +01:00
|
|
|
|
2016-06-04 17:10:24 +02:00
|
|
|
<android.support.v7.widget.ActionMenuView
|
|
|
|
android:id="@+id/toolbar2"
|
|
|
|
android:layout_width="match_parent"
|
2016-06-07 13:33:50 +02:00
|
|
|
android:layout_height="45dp"
|
2016-06-04 17:10:24 +02:00
|
|
|
android:background="?attr/colorPrimary"
|
2016-06-21 16:18:19 +02:00
|
|
|
app:layout_scrollFlags="scroll|enterAlways|snap"
|
2016-06-04 17:10:24 +02:00
|
|
|
app:popupTheme="@style/AppTheme.PopupOverlay" />
|
2016-03-03 17:46:31 +01:00
|
|
|
|
2016-06-04 17:10:24 +02:00
|
|
|
</android.support.design.widget.AppBarLayout>
|
2016-03-03 17:46:31 +01:00
|
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|