65 lines
2.6 KiB
XML
65 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toTopOf="@id/appbar_wrapper">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:id="@+id/nav_host_fragment_wrapper">
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/nav_host_fragment"
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:defaultNavHost="true"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
app:navGraph="@navigation/main_nav"
|
|
tools:layout="@layout/fragment_artists"
|
|
/>
|
|
</FrameLayout>
|
|
|
|
<audio.funkwhale.ffa.views.NowPlayingBottomSheet
|
|
android:id="@+id/now_playing_bottom_sheet"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/elevatedSurface"
|
|
app:target_header="@id/constraint_layout_placeholder">
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/now_playing"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:name="audio.funkwhale.ffa.fragments.NowPlayingFragment"
|
|
tools:layout="@layout/fragment_now_playing"
|
|
/>
|
|
</audio.funkwhale.ffa.views.NowPlayingBottomSheet>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:id="@+id/appbar_wrapper"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
|
|
|
<com.google.android.material.bottomappbar.BottomAppBar
|
|
android:id="@+id/appbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:theme="@style/AppTheme.AppBar"
|
|
app:backgroundTint="@color/elevatedSurface"
|
|
app:layout_insetEdge="bottom"
|
|
app:navigationIcon="@drawable/funkwhaleshape"
|
|
tools:menu="@menu/toolbar" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|