| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 |
xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 |
xmlns:tools="http://schemas.android.com/tools" |
| 5 |
android:layout_width="match_parent" |
| 6 |
android:layout_height="match_parent" |
| 7 |
android:fitsSystemWindows="true" |
| 8 |
tools:context=".MainActivity"> |
| 9 |
|
| 10 |
<com.google.android.material.appbar.AppBarLayout |
| 11 |
android:layout_width="match_parent" |
| 12 |
android:layout_height="wrap_content" |
| 13 |
android:fitsSystemWindows="true"> |
| 14 |
|
| 15 |
<com.google.android.material.appbar.MaterialToolbar |
| 16 |
android:id="@+id/toolbar" |
| 17 |
android:layout_width="match_parent" |
| 18 |
android:layout_height="?attr/actionBarSize" /> |
| 19 |
|
| 20 |
</com.google.android.material.appbar.AppBarLayout> |
| 21 |
|
| 22 |
<include layout="@layout/content_main" /> |
| 23 |
|
| 24 |
<com.google.android.material.floatingactionbutton.FloatingActionButton |
| 25 |
android:id="@+id/fab" |
| 26 |
android:layout_width="wrap_content" |
| 27 |
android:layout_height="wrap_content" |
| 28 |
android:layout_gravity="bottom|end" |
| 29 |
android:layout_marginEnd="@dimen/fab_margin" |
| 30 |
android:layout_marginBottom="16dp" |
| 31 |
app:srcCompat="@android:drawable/ic_dialog_email" /> |
| 32 |
|
| 33 |
</androidx.coordinatorlayout.widget.CoordinatorLayout> |