mihon/app/src/main/res/layout/activity_main.xml

33 lines
1.3 KiB
XML
Raw Normal View History

2015-12-30 08:10:31 -05:00
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2015-09-24 11:27:43 -04:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">
2015-09-24 11:27:43 -04:00
2015-12-25 18:07:45 -05:00
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/ThemeOverlay.AppTheme.Dark">
<include layout="@layout/toolbar" />
</android.support.design.widget.AppBarLayout>
2015-09-25 06:44:11 -04:00
<!-- the layout which will contain (host) the drawerLayout -->
<FrameLayout
android:id="@+id/drawer_container"
2015-09-24 11:27:43 -04:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2015-12-30 08:10:31 -05:00
app:layout_behavior="@string/appbar_scrolling_view_behavior">
2015-09-24 11:27:43 -04:00
2015-09-25 06:44:11 -04:00
<!-- the layout which will be the content of the activity (which will be hosted inside the drawer (NOT the list of the drawer)) -->
<FrameLayout
android:id="@+id/frame_container"
2015-09-24 11:27:43 -04:00
android:layout_width="match_parent"
2015-09-25 06:44:11 -04:00
android:layout_height="match_parent">
2015-09-24 11:27:43 -04:00
2015-09-25 06:44:11 -04:00
</FrameLayout>
</FrameLayout>
2015-12-30 08:10:31 -05:00
</android.support.design.widget.CoordinatorLayout>