1 <?xml version="1.0" encoding="utf-8"?>
2 <android.support.design.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="com.example.xub3.speakerlocator.MainActivity"
9 tools:showIn="@layout/content_main">
11 <android.support.design.widget.AppBarLayout
12 android:layout_width="match_parent"
13 android:layout_height="wrap_content"
14 android:theme="@style/AppTheme.AppBarOverlay">
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/AppTheme.PopupOverlay" />
23 </android.support.design.widget.AppBarLayout>
25 <include layout="@layout/content_main" />
27 <android.support.design.widget.FloatingActionButton
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 android:src="@android:drawable/ic_dialog_email" />
35 </android.support.design.widget.CoordinatorLayout>