ui: fix liftOnScroll issues entirely
Make a hack layout that fixes the problem of the lift state not actually following the RecyclerView state. This should remove the need for all the fragile fixes for this UI idiom.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
android:background="?attr/colorSurface"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
<org.oxycblt.auxio.ui.LiftAppBarLayout
|
||||
android:id="@+id/queue_appbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -26,7 +26,7 @@
|
||||
app:navigationIcon="@drawable/ic_down"
|
||||
app:title="@string/lbl_queue" />
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
</org.oxycblt.auxio.ui.LiftAppBarLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/queue_recycler"
|
||||
|
||||
Reference in New Issue
Block a user