
Move the backwards navigation hook from DetailFragment to MainFragment and modify it so that it collapses the playback panel when one navs back.
21 lines
861 B
XML
21 lines
861 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout 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"
|
|
tools:context=".MainFragment">
|
|
|
|
<org.oxycblt.auxio.playback.PlaybackLayout
|
|
android:id="@+id/playback_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/explore_nav_host"
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:navGraph="@navigation/nav_explore"
|
|
tools:layout="@layout/fragment_home" />
|
|
|
|
</org.oxycblt.auxio.playback.PlaybackLayout>
|
|
</layout>
|