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"
|
2024-03-24 18:50:05 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-12-05 21:31:12 +01:00
|
|
|
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"
|
2024-03-24 18:50:05 +01:00
|
|
|
android:paddingHorizontal="16dp"
|
2023-03-14 12:06:47 +01:00
|
|
|
android:paddingTop="3dp"
|
2021-04-27 11:05:58 +02:00
|
|
|
android:paddingBottom="3dp">
|
2020-12-05 21:31:12 +01:00
|
|
|
|
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-03-14 12:06:19 +01:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-04-27 11:05:58 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2020-12-05 21:31:12 +01:00
|
|
|
|
2025-09-22 00:35:23 +02:00
|
|
|
<View
|
|
|
|
|
android:id="@+id/cover_art_overlay"
|
|
|
|
|
android:layout_width="52dp"
|
|
|
|
|
android:layout_height="52dp"
|
|
|
|
|
android:layout_marginStart="2dp"
|
|
|
|
|
android:background="#80000000"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/play_pause_icon"
|
|
|
|
|
android:layout_width="28dp"
|
|
|
|
|
android:layout_height="28dp"
|
|
|
|
|
android:layout_marginStart="14dp"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
android:src="@drawable/button_play_pause_selector" />
|
|
|
|
|
|
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"
|
2024-03-24 18:50:05 +01:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/rating_indicator_image_view"
|
2021-04-16 10:08:31 +02:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/queue_song_cover_image_view"
|
2024-03-24 18:50:05 +01:00
|
|
|
app:layout_constraintTop_toTopOf="@id/queue_song_cover_image_view"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/queue_song_subtitle_text_view"
|
|
|
|
|
app:layout_constraintVertical_chainStyle="packed"/>
|
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"
|
2024-03-24 18:50:05 +01:00
|
|
|
app:layout_constraintEnd_toEndOf="@+id/queue_song_title_text_view"
|
2021-04-16 10:08:31 +02:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/queue_song_cover_image_view"
|
2024-03-24 18:50:05 +01:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/queue_song_title_text_view"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/queue_song_cover_image_view"/>
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:id="@+id/rating_indicator_image_view"
|
|
|
|
|
android:layout_width="42dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingVertical="8dp"
|
|
|
|
|
android:layout_marginHorizontal="12dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/queue_song_cover_image_view"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/queue_song_holder_image"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/queue_song_title_text_view"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/queue_song_cover_image_view">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/preferred_icon"
|
|
|
|
|
android:layout_width="18dp"
|
|
|
|
|
android:layout_height="18dp"
|
|
|
|
|
android:background="@drawable/ic_favorite"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/rating_bar_layout"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/preferred_icon">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/one_star_icon"
|
|
|
|
|
android:layout_width="8dp"
|
|
|
|
|
android:layout_height="8dp"
|
|
|
|
|
tools:src="@drawable/ic_star" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/two_star_icon"
|
|
|
|
|
android:layout_width="8dp"
|
|
|
|
|
android:layout_height="8dp"
|
|
|
|
|
tools:src="@drawable/ic_star" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/three_star_icon"
|
|
|
|
|
android:layout_width="8dp"
|
|
|
|
|
android:layout_height="8dp"
|
|
|
|
|
tools:src="@drawable/ic_star" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/four_star_icon"
|
|
|
|
|
android:layout_width="8dp"
|
|
|
|
|
android:layout_height="8dp"
|
|
|
|
|
tools:src="@drawable/ic_star" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/five_star_icon"
|
|
|
|
|
android:layout_width="8dp"
|
|
|
|
|
android:layout_height="8dp"
|
|
|
|
|
tools:src="@drawable/ic_star" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-12-05 21:31:12 +01:00
|
|
|
|
|
|
|
|
<ImageView
|
2021-04-16 18:00:19 +02:00
|
|
|
android:id="@+id/queue_song_holder_image"
|
2024-03-24 18:50:05 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-27 11:05:58 +02:00
|
|
|
android:gravity="center_vertical"
|
2021-04-16 10:08:31 +02:00
|
|
|
android:src="@drawable/ic_drag_handle"
|
2024-03-24 18:50:05 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/queue_song_cover_image_view"
|
2021-04-16 10:08:31 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2024-03-24 18:50:05 +01:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/rating_indicator_image_view"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/queue_song_cover_image_view" />
|
2021-04-16 10:08:31 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|