1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-15 17:02:10 +01:00
dandelion/app/src/main/res/layout/main__app_bar.xml

56 lines
2.3 KiB
XML
Raw Normal View History

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"
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
<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"
android:theme="@style/AppTheme.AppBarOverlay">
2016-03-03 17:46:31 +01: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"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay" />
2016-03-03 17:46:31 +01:00
</android.support.design.widget.AppBarLayout>
2016-03-03 17:46:31 +01:00
</android.support.design.widget.CoordinatorLayout>