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