| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ~ Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. |
| --> |
| |
| <androidx.coordinatorlayout.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" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| tools:context="com.example.app.MainActivity"> |
| |
| <com.google.android.material.appbar.AppBarLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:theme="@style/AppTheme.AppBarOverlay"> |
| |
| <androidx.appcompat.widget.Toolbar |
| android:id="@+id/toolbar" |
| android:layout_width="match_parent" |
| android:layout_height="?attr/actionBarSize" |
| android:background="?attr/colorPrimary" |
| app:popupTheme="@style/AppTheme.PopupOverlay" /> |
| |
| </com.google.android.material.appbar.AppBarLayout> |
| |
| <include layout="@layout/content_main" /> |
| |
| <com.google.android.material.floatingactionbutton.FloatingActionButton |
| android:id="@+id/fab" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="bottom|end" |
| android:layout_margin="@dimen/fab_margin" |
| app:srcCompat="@android:drawable/ic_dialog_email" /> |
| |
| </androidx.coordinatorlayout.widget.CoordinatorLayout> |