blob: dd76227575cc861f73a4a7991ae6fd37b6a6f16f [file] [log] [blame]
Ivan Yeo215fc2a2015-03-17 22:35:04 -07001<?xml version="1.0" encoding="utf-8"?>
Alexander Afanasyev471bbff2019-03-09 11:35:04 -08002<androidx.drawerlayout.widget.DrawerLayout
Ivan Yeo215fc2a2015-03-17 22:35:04 -07003 xmlns:android="http://schemas.android.com/apk/res/android"
4 xmlns:tools="http://schemas.android.com/tools"
Alexander Afanasyev5005fc52019-03-09 17:50:15 -08005 xmlns:app="http://schemas.android.com/apk/res-auto"
Ivan Yeo215fc2a2015-03-17 22:35:04 -07006 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 -->
Alexander Afanasyevc3959302019-03-09 19:12:31 -080012 <RelativeLayout
Ivan Yeo215fc2a2015-03-17 22:35:04 -070013 android:layout_width="match_parent"
14 android:layout_height="match_parent"
Alexander Afanasyevc3959302019-03-09 19:12:31 -080015 android:id="@+id/main_fragment_container"
16 >
17
18 <com.google.android.material.bottomnavigation.BottomNavigationView
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 xmlns:app="http://schemas.android.com/apk/res-auto"
21 style="@style/Widget.MaterialComponents.BottomNavigationView.Colored"
22 android:id="@+id/bottom_navigation_view"
23 android:layout_width="match_parent"
24 android:layout_height="wrap_content"
25 android:layout_alignParentBottom="true"
26 app:menu="@menu/bottom_menu"/>
27 </RelativeLayout>
Ivan Yeo215fc2a2015-03-17 22:35:04 -070028
Alexander Afanasyev5005fc52019-03-09 17:50:15 -080029 <com.google.android.material.navigation.NavigationView
Ivan Yeo215fc2a2015-03-17 22:35:04 -070030 android:id="@+id/navigation_drawer"
Alexander Afanasyev5005fc52019-03-09 17:50:15 -080031 android:layout_width="wrap_content"
Ivan Yeo215fc2a2015-03-17 22:35:04 -070032 android:layout_height="match_parent"
33 android:layout_gravity="start"
Alexander Afanasyev5005fc52019-03-09 17:50:15 -080034 app:headerLayout="@layout/drawer_header"
35 app:menu="@menu/drawer_menu"
Ivan Yeo215fc2a2015-03-17 22:35:04 -070036 />
Alexander Afanasyev471bbff2019-03-09 11:35:04 -080037</androidx.drawerlayout.widget.DrawerLayout>