Ivan Yeo | 215fc2a | 2015-03-17 22:35:04 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Alexander Afanasyev | 471bbff | 2019-03-09 11:35:04 -0800 | [diff] [blame] | 2 | <androidx.drawerlayout.widget.DrawerLayout |
Ivan Yeo | 215fc2a | 2015-03-17 22:35:04 -0700 | [diff] [blame] | 3 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 | xmlns:tools="http://schemas.android.com/tools" |
Alexander Afanasyev | 5005fc5 | 2019-03-09 17:50:15 -0800 | [diff] [blame^] | 5 | xmlns:app="http://schemas.android.com/apk/res-auto" |
Ivan Yeo | 215fc2a | 2015-03-17 22:35:04 -0700 | [diff] [blame] | 6 | android:id="@+id/drawer_layout" |
| 7 | android:layout_width="match_parent" |
| 8 | android:layout_height="match_parent" |
| 9 | tools:context=".MainActivity"> |
| 10 | |
| 11 | <!-- Main container for fragments to be presented in --> |
| 12 | <FrameLayout |
| 13 | android:id="@+id/main_fragment_container" |
| 14 | android:layout_width="match_parent" |
| 15 | android:layout_height="match_parent" |
| 16 | /> |
| 17 | |
Alexander Afanasyev | 5005fc5 | 2019-03-09 17:50:15 -0800 | [diff] [blame^] | 18 | <com.google.android.material.navigation.NavigationView |
Ivan Yeo | 215fc2a | 2015-03-17 22:35:04 -0700 | [diff] [blame] | 19 | android:id="@+id/navigation_drawer" |
Alexander Afanasyev | 5005fc5 | 2019-03-09 17:50:15 -0800 | [diff] [blame^] | 20 | android:layout_width="wrap_content" |
Ivan Yeo | 215fc2a | 2015-03-17 22:35:04 -0700 | [diff] [blame] | 21 | android:layout_height="match_parent" |
| 22 | android:layout_gravity="start" |
Alexander Afanasyev | 5005fc5 | 2019-03-09 17:50:15 -0800 | [diff] [blame^] | 23 | app:headerLayout="@layout/drawer_header" |
| 24 | app:menu="@menu/drawer_menu" |
Ivan Yeo | 215fc2a | 2015-03-17 22:35:04 -0700 | [diff] [blame] | 25 | /> |
| 26 | |
Alexander Afanasyev | 471bbff | 2019-03-09 11:35:04 -0800 | [diff] [blame] | 27 | </androidx.drawerlayout.widget.DrawerLayout> |