ui: rework bottom sheet state management
Try to make the bottom sheet states more coherent, especially regarding when playback ends.
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_margin="@dimen/spacing_medium"
|
||||
android:visibility="invisible">
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
android:scaleType="center"
|
||||
android:paddingBottom="@dimen/spacing_small"
|
||||
android:src="@drawable/ic_down_24"
|
||||
android:contentDescription="@string/desc_queue_bar"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
@@ -62,6 +63,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/lbl_queue"
|
||||
android:textAppearance="@style/TextAppearance.Material3.LabelLarge"
|
||||
android:textColor="?attr/colorOnSurfaceVariant"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/handle"
|
||||
app:layout_constraintEnd_toEndOf="@+id/handle"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
android:id="@+id/queue_recycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:overScrollMode="ifContentScrolls"
|
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
||||
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
|
||||
tools:listitem="@layout/item_queue_song" />
|
||||
|
||||
Reference in New Issue
Block a user