playback: introduce swipe to next

This commit is contained in:
Alexander Capehart
2026-05-17 19:51:53 -06:00
parent bf4c0b84c6
commit 3a1a7ae1c8
17 changed files with 492 additions and 811 deletions
+37
View File
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<org.oxycblt.auxio.ui.SquareMaskableFrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
app:shapeAppearance="@style/ShapeAppearance.Material3.Corner.ExtraLarge">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<org.oxycblt.auxio.image.CoverView
android:id="@+id/cover"
style="@style/Widget.Auxio.Image.Full"
android:layout_width="0dp"
android:layout_height="0dp"
app:enablePlaybackIndicator="false"
app:enableSelectionBadge="false"
app:layout_constraintDimensionRatio="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
<org.oxycblt.auxio.playback.ui.stepper.PlayerFastSeekOverlay
android:id="@+id/cover_fast_seek_overlay"
style="@style/Widget.Auxio.Image.Full"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintDimensionRatio="1"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</org.oxycblt.auxio.ui.SquareMaskableFrameLayout>