42 lines
1.6 KiB
XML
42 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<androidx.drawerlayout.widget.DrawerLayout
|
|
android:id="@+id/drawer_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true"
|
|
tools:openDrawer="start">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<include
|
|
android:id="@+id/main_app_bar"
|
|
layout="@layout/include_main_app_bar"
|
|
tools:ignore="MissingConstraints" />
|
|
|
|
<fragment
|
|
android:id="@+id/nav_host_fragment"
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:defaultNavHost="true"
|
|
app:navGraph="@navigation/mobile_navigation" />
|
|
</FrameLayout>
|
|
|
|
<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:headerLayout="@layout/nav_header_main"
|
|
app:menu="@menu/activity_main_drawer" />
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|
|
</layout>
|