Magisk/app/src/main/res/layout/activity_main.xml

38 lines
1.1 KiB
XML
Raw Normal View History

2016-08-21 13:29:42 +00:00
<?xml version="1.0" encoding="utf-8"?>
<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"
xmlns:tools="http://schemas.android.com/tools">
2016-08-21 13:29:42 +00:00
<data>
2016-08-21 13:29:42 +00:00
<variable
name="viewModel"
type="com.topjohnwu.magisk.ui.MainViewModel" />
2016-08-21 13:29:42 +00:00
</data>
2016-08-21 13:29:42 +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"
tools:openDrawer="start">
<include
android:id="@+id/main_include"
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
</layout>