2021-02-04 20:15:58 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.drawerlayout.widget.DrawerLayout
|
|
|
|
xmlns:a="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
a:id="@+id/drawer_layout"
|
|
|
|
a:layout_width="match_parent"
|
|
|
|
a:layout_height="match_parent"
|
|
|
|
tools:context="org.moire.ultrasonic.activity.NavigationActivity">
|
|
|
|
|
2021-02-08 20:24:20 +01:00
|
|
|
<RelativeLayout
|
2021-02-04 20:15:58 +01:00
|
|
|
a:layout_width="match_parent"
|
|
|
|
a:layout_height="match_parent"
|
|
|
|
a:orientation="vertical">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
a:id="@+id/toolbar"
|
|
|
|
a:layout_width="match_parent"
|
|
|
|
a:layout_height="wrap_content" />
|
|
|
|
|
2021-02-08 20:24:20 +01:00
|
|
|
<androidx.fragment.app.FragmentContainerView
|
2021-02-04 20:15:58 +01:00
|
|
|
a:id="@+id/nav_host_fragment"
|
|
|
|
a:name="androidx.navigation.fragment.NavHostFragment"
|
|
|
|
a:layout_width="match_parent"
|
|
|
|
a:layout_height="match_parent"
|
2021-02-08 20:24:20 +01:00
|
|
|
a:layout_above="@+id/now_playing_fragment"
|
|
|
|
a:layout_below="@+id/toolbar"
|
2021-02-04 20:15:58 +01:00
|
|
|
app:defaultNavHost="true"
|
|
|
|
app:navGraph="@navigation/navigation_graph" />
|
2021-02-08 20:24:20 +01:00
|
|
|
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
|
|
a:id="@+id/now_playing_fragment"
|
|
|
|
a:name="org.moire.ultrasonic.fragment.NowPlayingFragment"
|
|
|
|
a:layout_width="match_parent"
|
|
|
|
a:layout_height="wrap_content"
|
|
|
|
a:layout_alignParentBottom="true"
|
|
|
|
app:defaultNavHost="true"
|
|
|
|
app:navGraph="@navigation/navigation_graph" />
|
|
|
|
</RelativeLayout>
|
2021-02-04 20:15:58 +01:00
|
|
|
|
|
|
|
<com.google.android.material.navigation.NavigationView
|
|
|
|
a:id="@+id/nav_view"
|
|
|
|
a:layout_width="wrap_content"
|
|
|
|
a:layout_height="match_parent"
|
|
|
|
a:layout_gravity="start"
|
|
|
|
a:fitsSystemWindows="true"
|
2021-02-10 19:57:09 +01:00
|
|
|
a:background="?attr/color_menu_background"
|
2021-02-04 20:15:58 +01:00
|
|
|
a:theme="@style/ThemeOverlay.AppCompat.navTheme"
|
|
|
|
app:headerLayout="@layout/navigation_header"
|
2021-02-10 19:57:09 +01:00
|
|
|
app:menu="@menu/navigation" />
|
2021-02-04 20:15:58 +01:00
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|