ProjectLaogai/app/src/main/res/layouts/activities/layout/activity_main.xml

29 lines
1.1 KiB
XML
Raw Normal View History

2018-10-24 18:22:05 +02:00
<?xml version="1.0" encoding="utf-8"?>
2018-10-26 00:50:37 +02:00
<androidx.drawerlayout.widget.DrawerLayout
2018-10-24 18:22:05 +02:00
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"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:openDrawer="start">
<include
android:id="@+id/app_bar"
layout="@layout/app_bar_main"
android:layout_width="match_parent"
android:layout_height="match_parent" />
2018-10-24 18:22:05 +02:00
2018-10-26 00:50:37 +02:00
<com.google.android.material.navigation.NavigationView
2018-10-24 18:22:05 +02:00
android:id="@+id/nav_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
android:fitsSystemWindows="true"
android:background="?themeSecondary"
2018-10-24 18:22:05 +02:00
app:headerLayout="@layout/nav_header_main"
app:menu="@menu/activity_main_drawer"/>
2018-10-26 00:50:37 +02:00
</androidx.drawerlayout.widget.DrawerLayout>