playback: fix more queue issues

Fix more issues with the queue, such as landscape edge-to-edge not
working correctly and drag scroll events not resulting in the appbar
lifting.
This commit is contained in:
OxygenCobalt
2021-08-25 18:15:09 -06:00
parent 0268700fb4
commit 37a8cdccb6
7 changed files with 44 additions and 58 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
android:name="org.oxycblt.auxio.playback.CompactPlaybackFragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="8dp"
android:elevation="@dimen/elevation_normal"
android:background="?attr/colorSurface"
tools:layout="@layout/fragment_compact_playback" />
</LinearLayout>
+2 -2
View File
@@ -5,6 +5,7 @@
tools:context=".playback.queue.QueueFragment">
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:id="@+id/queue_coordinator"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animateLayoutChanges="true"
@@ -14,8 +15,8 @@
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/queue_appbar"
android:layout_width="match_parent"
android:background="?attr/colorSurface"
android:layout_height="wrap_content"
android:background="?attr/colorSurface"
app:liftOnScroll="true">
<androidx.appcompat.widget.Toolbar
@@ -27,7 +28,6 @@
</com.google.android.material.appbar.AppBarLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/queue_recycler"
android:layout_width="match_parent"
+1
View File
@@ -34,6 +34,7 @@
<!-- Misc -->
<dimen name="elevation_small">2dp</dimen>
<dimen name="elevation_normal">4dp</dimen>
<dimen name="elevation_large">8dp</dimen>
<dimen name="offset_thumb">4dp</dimen>
</resources>