| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<android.support.design.widget.CoordinatorLayout |
| 3 |
xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 |
xmlns:app="http://schemas.android.com/apk/res-auto" |
| 5 |
xmlns:tools="http://schemas.android.com/tools" |
| 6 |
android:layout_width="match_parent" |
| 7 |
android:layout_height="match_parent" |
| 8 |
android:fitsSystemWindows="true" |
| 9 |
tools:context="${relativePackage}.${activityClass}"> |
| 10 |
|
| 11 |
<android.support.design.widget.AppBarLayout |
| 12 |
android:layout_height="wrap_content" |
| 13 |
android:layout_width="match_parent" |
| 14 |
android:theme="@style/${themeNameAppBarOverlay}"> |
| 15 |
|
| 16 |
<android.support.v7.widget.Toolbar |
| 17 |
android:id="@+id/toolbar" |
| 18 |
android:layout_width="match_parent" |
| 19 |
android:layout_height="?attr/actionBarSize" |
| 20 |
android:background="?attr/colorPrimary" |
| 21 |
app:popupTheme="@style/${themeNamePopupOverlay}" /> |
| 22 |
|
| 23 |
</android.support.design.widget.AppBarLayout> |
| 24 |
|
| 25 |
<include layout="@layout/${simpleLayoutName}"/> |
| 26 |
|
| 27 |
<android.support.design.widget.FloatingActionButton |
| 28 |
android:id="@+id/fab" |
| 29 |
android:layout_width="wrap_content" |
| 30 |
android:layout_height="wrap_content" |
| 31 |
android:layout_gravity="bottom|end" |
| 32 |
android:layout_margin="@dimen/fab_margin" |
| 33 |
app:srcCompat="@android:drawable/ic_dialog_email" /> |
| 34 |
|
| 35 |
</android.support.design.widget.CoordinatorLayout> |