mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-08 11:47:24 +01:00
31 lines
1.2 KiB
XML
31 lines
1.2 KiB
XML
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
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"
|
|
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> |