<
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"
>
<
androidx.coordinatorlayout.widget.CoordinatorLayout
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
tools:context
=
".MovieList"
>
<
com.google.android.material.appbar.AppBarLayout
android:id
=
"@+id/appbar"
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
android:background
=
"@android:color/transparent"
android:theme
=
"@style/AppTheme.AppBarOverlay"
>
<
androidx.appcompat.widget.Toolbar
android:id
=
"@+id/toolbar"
android:layout_width
=
"match_parent"
android:layout_height
=
"?attr/actionBarSize"
app:popupTheme
=
"@style/AppTheme.PopupOverlay"
/>
</
com.google.android.material.appbar.AppBarLayout
>
<
fragment
android:id
=
"@+id/nav_host_fragment"
android:name
=
"androidx.navigation.fragment.NavHostFragment"
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
app:layout_constraintTop_toBottomOf
=
"@id/appbar"
app:layout_constraintLeft_toLeftOf
=
"parent"
app:layout_constraintRight_toRightOf
=
"parent"
app:defaultNavHost
=
"true"
app:navGraph
=
"@navigation/mobile_navigation"
/>
</
androidx.coordinatorlayout.widget.CoordinatorLayout
>
<
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
>