2019-11-05 21:23:29 +01: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"
|
2019-11-05 21:23:29 +01:00
|
|
|
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">
|
|
|
|
|
2023-01-09 09:39:19 +01:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
2019-11-05 21:23:29 +01:00
|
|
|
android:layout_width="match_parent"
|
2023-01-09 09:39:19 +01:00
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2023-09-28 17:16:34 +02:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/appbar">
|
2023-01-09 09:39:19 +01:00
|
|
|
<LinearLayout
|
2023-04-20 10:47:23 +02:00
|
|
|
android:id="@+id/nav_host_fragment_wrapper"
|
2023-01-09 09:39:19 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal">
|
2019-11-05 21:23:29 +01:00
|
|
|
|
2023-01-09 09:39:19 +01:00
|
|
|
<androidx.fragment.app.FragmentContainerView
|
2023-01-10 13:56:20 +01:00
|
|
|
android:id="@+id/nav_host_fragment"
|
|
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
app:defaultNavHost="true"
|
2023-01-09 09:39:19 +01:00
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
2023-01-10 13:56:20 +01:00
|
|
|
app:navGraph="@navigation/main_nav"
|
2023-01-09 09:39:19 +01:00
|
|
|
tools:layout="@layout/fragment_artists" />
|
2019-11-05 21:23:29 +01:00
|
|
|
|
2023-01-09 09:39:19 +01:00
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
|
|
android:id="@+id/landscape_queue"
|
|
|
|
android:name="audio.funkwhale.ffa.fragments.LandscapeQueueFragment"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
|
|
tools:layout="@layout/partial_queue" />
|
|
|
|
</LinearLayout>
|
2019-11-05 21:23:29 +01:00
|
|
|
|
2023-01-09 09:39:19 +01:00
|
|
|
<audio.funkwhale.ffa.views.NowPlayingBottomSheet
|
|
|
|
android:id="@+id/now_playing_bottom_sheet"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2023-09-24 11:26:52 +02:00
|
|
|
android:background="@color/elevatedSurface"
|
2023-09-28 17:16:34 +02:00
|
|
|
app:cardElevation="8dp"
|
2023-09-24 11:26:52 +02:00
|
|
|
app:target_header="@id/constraint_layout_placeholder">
|
2023-01-09 09:39:19 +01:00
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
|
|
android:id="@+id/now_playing"
|
|
|
|
android:name="audio.funkwhale.ffa.fragments.NowPlayingFragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:layout="@layout/fragment_now_playing" />
|
|
|
|
</audio.funkwhale.ffa.views.NowPlayingBottomSheet>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
2019-11-05 21:23:29 +01:00
|
|
|
|
2023-09-28 17:16:34 +02:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/appbar"
|
2019-11-05 21:23:29 +01:00
|
|
|
android:layout_width="match_parent"
|
2023-09-28 17:16:34 +02:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
android:theme="@style/AppTheme.AppBar"
|
|
|
|
app:navigationIcon="@drawable/funkwhaleshape"
|
|
|
|
tools:menu="@menu/toolbar"
|
2019-11-05 21:23:29 +01:00
|
|
|
|
2023-09-28 17:16:34 +02:00
|
|
|
/>
|
2023-01-09 09:39:19 +01:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|