1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2015 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~        http://www.apache.org/licenses/LICENSE-2.0
10  ~ Unless required by applicable law or agreed to in writing, software
11  ~ distributed under the License is distributed on an "AS IS" BASIS,
12  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  ~ See the License for the specific language governing permissions and limitations under the
14  ~ License.
15  ~
16  -->
17
18<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:app="http://schemas.android.com/apk/res-auto"
20    xmlns:tools="http://schemas.android.com/tools"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent"
23    android:fitsSystemWindows="true"
24    tools:context=".app.HomeActivity">
25
26    <com.google.android.material.appbar.AppBarLayout
27        android:layout_width="match_parent"
28        android:layout_height="wrap_content"
29        android:theme="@style/AppTheme.AppBarOverlay">
30
31        <androidx.appcompat.widget.Toolbar
32            android:id="@+id/toolbar"
33            android:layout_width="match_parent"
34            android:layout_height="?attr/actionBarSize"
35            android:background="?attr/colorPrimary"
36            app:popupTheme="@style/AppTheme.PopupOverlay" />
37
38    </com.google.android.material.appbar.AppBarLayout>
39
40    <include layout="@layout/content_main" />
41
42</androidx.coordinatorlayout.widget.CoordinatorLayout>
43