2019-08-19 16:50:33 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2023-01-09 09:39:19 +01:00
|
|
|
<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">
|
2019-08-19 16:50:33 +02:00
|
|
|
|
2023-01-09 09:39:19 +01:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:background="@color/surface"
|
|
|
|
app:layout_constraintVertical_weight="10"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2023-01-10 13:56:20 +01:00
|
|
|
<androidx.fragment.app.FragmentContainerView
|
2023-01-09 09:39:19 +01:00
|
|
|
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" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
2019-08-19 16:50:33 +02:00
|
|
|
|
2023-01-09 09:39:19 +01:00
|
|
|
<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">
|
|
|
|
<audio.funkwhale.ffa.views.NowPlayingBottomSheet
|
|
|
|
android:id="@+id/now_playing_bottom_sheet"
|
|
|
|
style="?attr/bottomSheetStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:cardCornerRadius="3dp"
|
|
|
|
app:cardElevation="12dp"
|
|
|
|
app:target_header="@id/header">
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
2021-07-03 13:06:23 +02:00
|
|
|
android:id="@+id/now_playing"
|
|
|
|
android:layout_width="match_parent"
|
2023-01-09 09:39:19 +01:00
|
|
|
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>
|
2019-08-19 16:50:33 +02:00
|
|
|
|
2023-01-09 09:39:19 +01:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
android:id="@+id/appbar_wrapper"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
2021-07-03 13:06:23 +02:00
|
|
|
|
|
|
|
<com.google.android.material.bottomappbar.BottomAppBar
|
2023-01-09 09:39:19 +01:00
|
|
|
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>
|