Improve queue editing

Fix issue where moving queue items would swap them, not move them, also prevent QueueAdapter from scrolling uncontrollably if the first item is moved.
This commit is contained in:
OxygenCobalt
2020-10-23 19:15:10 -06:00
parent 912d296e92
commit 55ed55c5dc
6 changed files with 42 additions and 26 deletions
+4 -3
View File
@@ -66,11 +66,12 @@
<ImageView
android:id="@+id/song_drag_handle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_handle"
android:layout_height="0dp"
android:padding="@dimen/padding_small"
android:clickable="true"
android:focusable="true"
app:layout_constraintBottom_toBottomOf="parent"
android:src="@drawable/ic_handle"
app:layout_constraintBottom_toBottomOf="@+id/song_info"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="ContentDescription" />