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+ tools : context =" .MainActivity" >
9+
10+ <android .support.design.widget.AppBarLayout
11+ android : layout_width =" match_parent"
12+ android : layout_height =" wrap_content"
13+ android : theme =" @style/AppTheme.AppBarOverlay" >
14+
15+ <android .support.v7.widget.Toolbar
16+ android : id =" @+id/toolbar"
17+ android : layout_width =" match_parent"
18+ android : layout_height =" ?attr/actionBarSize"
19+ android : background =" ?attr/colorPrimary"
20+ app : popupTheme =" @style/AppTheme.PopupOverlay" />
21+
22+ </android .support.design.widget.AppBarLayout>
23+
24+ <include layout =" @layout/content_main" />
25+
26+ <android .support.design.widget.FloatingActionButton
27+ android : id =" @+id/fab"
28+ android : layout_width =" wrap_content"
29+ android : layout_height =" wrap_content"
30+ android : layout_gravity =" bottom|end"
31+ android : layout_margin =" @dimen/fab_margin"
32+ app : srcCompat =" @android:drawable/ic_dialog_email" />
33+
34+ </android .support.design.widget.CoordinatorLayout>
0 commit comments