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

31 lines
1.2 KiB
XML
Raw Normal View History

2015-09-25 06:44:11 -04:00
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2015-09-24 11:27:43 -04:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2015-09-25 06:44:11 -04:00
android:gravity="center"
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
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
2015-09-24 11:27:43 -04:00
android:layout_width="match_parent"
2015-09-25 06:44:11 -04:00
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
android:elevation="4dp" />
<!-- the layout which will contain (host) the drawerLayout -->
<FrameLayout
android:layout_below="@id/toolbar"
android:id="@+id/drawer_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
<!-- 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>
</RelativeLayout>