1<layout xmlns:android="http://schemas.android.com/apk/res/android">
2
3 <androidx.drawerlayout.widget.DrawerLayout
4 android:layout_width="match_parent"
5 android:layout_height="match_parent"
6 android:fitsSystemWindows="true">
7
8 <LinearLayout
9 android:layout_width="match_parent"
10 android:layout_height="match_parent"
11 android:orientation="vertical">
12
13 <com.google.android.material.appbar.AppBarLayout
14 android:id="@+id/app_bar_layout"
15 android:layout_width="match_parent"
16 android:layout_height="wrap_content">
17
18 <com.google.android.material.appbar.MaterialToolbar
19 android:id="@+id/toolbar"
20 android:layout_width="match_parent"
21 android:layout_height="wrap_content"
22 android:minHeight="?attr/actionBarSize" />
23
24 </com.google.android.material.appbar.AppBarLayout>
25
26 <LinearLayout
27 android:layout_width="match_parent"
28 android:layout_height="match_parent">
29
30 <FrameLayout
31 android:id="@+id/main_fragment"
32 android:layout_width="0dp"
33 android:layout_height="match_parent"
34 android:layout_weight="1000" />
35
36 <FrameLayout
37 android:id="@+id/secondary_fragment"
38 android:layout_width="0dp"
39 android:layout_height="match_parent"
40 android:layout_weight="1618" />
41 </LinearLayout>
42 </LinearLayout>
43
44 <com.mikepenz.materialdrawer.widget.MaterialDrawerSliderView
45 android:id="@+id/drawer"
46 android:layout_width="wrap_content"
47 android:layout_height="match_parent"
48 android:layout_gravity="start"
49 android:fitsSystemWindows="true" />
50
51 </androidx.drawerlayout.widget.DrawerLayout>
52</layout>