25 lines
896 B
XML
25 lines
896 B
XML
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<include
|
|
android:id="@+id/toolbar"
|
|
layout="@layout/toolbar"/>
|
|
|
|
<!-- the layout which will contain (host) the drawerLayout -->
|
|
<FrameLayout
|
|
android:layout_below="@id/toolbar"
|
|
android:id="@+id/drawer_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<!-- 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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
</FrameLayout>
|
|
</FrameLayout>
|
|
</RelativeLayout> |