2016-08-21 13:29:42 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-04-11 18:01:49 +00:00
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-08-21 13:29:42 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-04-11 18:01:49 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
2016-08-21 13:29:42 +00:00
|
|
|
|
2019-04-11 18:01:49 +00:00
|
|
|
<data>
|
2016-08-21 13:29:42 +00:00
|
|
|
|
2019-04-11 18:01:49 +00:00
|
|
|
<variable
|
|
|
|
name="viewModel"
|
|
|
|
type="com.topjohnwu.magisk.ui.MainViewModel" />
|
2016-08-21 13:29:42 +00:00
|
|
|
|
2019-04-11 18:01:49 +00:00
|
|
|
</data>
|
2016-08-21 13:29:42 +00:00
|
|
|
|
2019-04-11 18:01:49 +00:00
|
|
|
<androidx.drawerlayout.widget.DrawerLayout
|
|
|
|
android:id="@+id/drawer_layout"
|
|
|
|
android:layout_width="match_parent"
|
2016-08-21 13:29:42 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true"
|
2019-04-11 18:01:49 +00:00
|
|
|
tools:openDrawer="start">
|
|
|
|
|
|
|
|
<include
|
2019-04-11 19:17:54 +00:00
|
|
|
android:id="@+id/main_include"
|
2019-04-11 18:01:49 +00:00
|
|
|
layout="@layout/activity_main_content"
|
|
|
|
viewModel="@{viewModel}" />
|
|
|
|
|
|
|
|
<com.google.android.material.navigation.NavigationView
|
|
|
|
android:id="@+id/nav_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
app:menu="@menu/drawer" />
|
|
|
|
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|
|
|
|
|
2016-08-21 13:29:42 +00:00
|
|
|
|
2019-04-11 18:01:49 +00:00
|
|
|
</layout>
|