2021-04-27 11:05:58 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-12-05 21:31:12 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-02 15:37:29 +02:00
|
|
|
android:clipChildren="false"
|
2021-04-27 11:05:58 +02:00
|
|
|
android:foreground="?attr/selectableItemBackground"
|
2020-12-05 21:31:12 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingTop="3dp"
|
|
|
|
|
android:paddingEnd="24dp"
|
2021-04-27 11:05:58 +02:00
|
|
|
android:paddingBottom="3dp">
|
2020-12-05 21:31:12 +01:00
|
|
|
|
2023-01-04 09:14:15 +01:00
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/queue_song_play_image_view"
|
|
|
|
|
android:layout_width="16dp"
|
|
|
|
|
android:layout_height="16dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_margin="4dp"
|
|
|
|
|
android:src="@drawable/ic_play"
|
|
|
|
|
android:visibility="invisible"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/queue_song_cover_image_view"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/queue_song_cover_image_view" />
|
|
|
|
|
|
2021-04-16 10:08:31 +02:00
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/queue_song_cover_image_view"
|
|
|
|
|
android:layout_width="52dp"
|
|
|
|
|
android:layout_height="52dp"
|
2020-12-05 21:31:12 +01:00
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_margin="2dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2023-01-04 09:14:15 +01:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/queue_song_play_image_view"
|
2021-04-27 11:05:58 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2020-12-05 21:31:12 +01:00
|
|
|
|
2021-04-16 10:08:31 +02:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/queue_song_title_text_view"
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/LabelMedium"
|
2021-04-15 16:43:38 +02:00
|
|
|
android:layout_width="0dp"
|
2021-04-16 10:08:31 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
android:paddingEnd="12dp"
|
2022-03-23 21:47:08 +01:00
|
|
|
android:singleLine="true"
|
2021-04-16 10:08:31 +02:00
|
|
|
android:text="@string/label_placeholder"
|
2021-04-27 11:05:58 +02:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/queue_song_holder_image"
|
2021-04-16 10:08:31 +02:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/queue_song_cover_image_view"
|
2021-04-27 11:05:58 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2020-12-05 21:31:12 +01:00
|
|
|
|
2021-08-02 15:37:29 +02:00
|
|
|
<TextView
|
2021-09-13 15:43:00 +02:00
|
|
|
android:id="@+id/queue_song_subtitle_text_view"
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/LabelSmall"
|
2021-09-13 15:43:00 +02:00
|
|
|
android:layout_width="0dp"
|
2021-04-16 10:08:31 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-09-13 15:43:00 +02:00
|
|
|
android:ellipsize="marquee"
|
2021-08-02 15:37:29 +02:00
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:paddingEnd="4dp"
|
2021-09-13 15:43:00 +02:00
|
|
|
android:singleLine="true"
|
2021-08-02 15:37:29 +02:00
|
|
|
android:text="@string/label_placeholder"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
2021-09-13 15:43:00 +02:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/queue_song_holder_image"
|
2021-04-16 10:08:31 +02:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/queue_song_cover_image_view"
|
2021-08-02 15:37:29 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/queue_song_title_text_view" />
|
2020-12-05 21:31:12 +01:00
|
|
|
|
|
|
|
|
<ImageView
|
2021-04-16 18:00:19 +02:00
|
|
|
android:id="@+id/queue_song_holder_image"
|
2020-12-05 21:31:12 +01:00
|
|
|
android:layout_width="36dp"
|
|
|
|
|
android:layout_height="match_parent"
|
2021-04-27 11:05:58 +02:00
|
|
|
android:gravity="center_vertical"
|
2020-12-05 21:31:12 +01:00
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2021-04-16 10:08:31 +02:00
|
|
|
android:src="@drawable/ic_drag_handle"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2021-04-27 11:05:58 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2021-04-16 10:08:31 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|