2021-04-24 11:45:53 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-11-21 13:54:49 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2024-03-24 00:45:19 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-11-21 13:54:49 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-24 11:45:53 +02:00
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:clipChildren="false"
|
2020-11-21 13:54:49 +01:00
|
|
|
android:orientation="horizontal"
|
2023-09-09 18:43:18 +02:00
|
|
|
android:paddingTop="2dp"
|
|
|
|
|
android:paddingBottom="2dp">
|
2020-11-21 13:54:49 +01:00
|
|
|
|
2024-05-25 22:33:26 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:id="@+id/different_disk_divider_sector"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
2023-09-09 18:43:18 +02:00
|
|
|
android:layout_marginHorizontal="16dp"
|
2022-09-05 09:33:58 +02:00
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2024-05-25 22:33:26 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/disc_title_text_view"
|
|
|
|
|
style="@style/LabelSmall"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:ellipsize="marquee"
|
2024-08-30 17:19:58 +02:00
|
|
|
android:paddingEnd="12dp"
|
2024-05-25 22:33:26 +02:00
|
|
|
android:singleLine="true"
|
2024-08-30 17:19:58 +02:00
|
|
|
tools:text="@string/label_placeholder"
|
2024-05-25 22:33:26 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/different_disk_divider"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/different_disk_divider"
|
|
|
|
|
style="@style/Divider"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/disc_title_text_view"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/disc_title_text_view"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/disc_title_text_view"/>
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2022-09-05 09:33:58 +02:00
|
|
|
|
2021-04-16 10:08:31 +02:00
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/song_cover_image_view"
|
|
|
|
|
android:layout_width="52dp"
|
|
|
|
|
android:layout_height="52dp"
|
2020-11-21 13:54:49 +01:00
|
|
|
android:layout_gravity="center"
|
2023-09-09 18:43:18 +02:00
|
|
|
android:layout_marginStart="16dp"
|
2020-11-21 13:54:49 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2024-05-25 22:33:26 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/different_disk_divider_sector" />
|
2020-11-26 16:05:58 +01:00
|
|
|
|
2025-09-22 00:15:52 +02:00
|
|
|
<View
|
|
|
|
|
android:id="@+id/cover_art_overlay"
|
|
|
|
|
android:layout_width="52dp"
|
|
|
|
|
android:layout_height="52dp"
|
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:background="#80000000"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/song_cover_image_view"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/different_disk_divider_sector" />
|
|
|
|
|
|
2025-09-23 17:40:48 +02:00
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/play_pause_icon"
|
2025-09-22 00:15:52 +02:00
|
|
|
android:layout_width="28dp"
|
|
|
|
|
android:layout_height="28dp"
|
2025-09-23 17:40:48 +02:00
|
|
|
android:layout_gravity="center"
|
2025-09-22 00:15:52 +02:00
|
|
|
android:layout_marginStart="28dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2025-09-22 19:28:01 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/different_disk_divider_sector" />
|
2025-09-22 00:15:52 +02:00
|
|
|
|
2021-09-01 17:47:27 +02:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/track_number_text_view"
|
2022-01-13 10:38:46 +01:00
|
|
|
style="@style/LabelLarge"
|
2021-09-01 17:47:27 +02:00
|
|
|
android:layout_width="52dp"
|
|
|
|
|
android:layout_height="52dp"
|
2023-09-09 18:43:18 +02:00
|
|
|
android:layout_marginStart="16dp"
|
2021-09-13 15:43:00 +02:00
|
|
|
android:gravity="center"
|
2021-09-13 15:47:57 +02:00
|
|
|
android:text="@string/label_placeholder"
|
2021-09-01 17:47:27 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2024-05-25 22:33:26 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/different_disk_divider_sector" />
|
2021-09-01 17:47:27 +02:00
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/cover_image_separator"
|
|
|
|
|
android:layout_width="12dp"
|
|
|
|
|
android:layout_height="52dp"
|
2023-09-09 18:43:18 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/song_cover_image_view"
|
2021-09-01 17:47:27 +02:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/search_result_song_title_text_view"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/song_cover_image_view"
|
2023-09-09 18:43:18 +02:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/song_cover_image_view" />
|
2021-09-01 17:47:27 +02:00
|
|
|
|
2021-04-16 10:08:31 +02:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/search_result_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:paddingEnd="12dp"
|
2021-04-24 11:45:53 +02:00
|
|
|
android:singleLine="true"
|
2021-04-16 10:08:31 +02:00
|
|
|
android:text="@string/label_placeholder"
|
2023-09-09 18:43:18 +02:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/search_result_song_subtitle_text_view"
|
2024-03-24 00:45:19 +01:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/rating_indicator_image_view"
|
2021-09-01 17:47:27 +02:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/cover_image_separator"
|
2023-09-09 18:43:18 +02:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/song_cover_image_view"
|
|
|
|
|
app:layout_constraintVertical_chainStyle="packed" />
|
2020-11-23 09:28:20 +01:00
|
|
|
|
2021-09-13 15:43:00 +02:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/search_result_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-04-24 11:45:53 +02:00
|
|
|
android:paddingEnd="12dp"
|
2021-09-13 15:43:00 +02:00
|
|
|
android:singleLine="true"
|
|
|
|
|
android:text="@string/label_placeholder"
|
2023-09-09 18:43:18 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/song_cover_image_view"
|
2024-03-24 00:45:19 +01:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/rating_indicator_image_view"
|
2021-09-01 17:47:27 +02:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/cover_image_separator"
|
2021-09-13 15:43:00 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/search_result_song_title_text_view" />
|
2021-04-24 11:45:53 +02:00
|
|
|
|
2024-03-24 18:50:05 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2024-03-24 00:45:19 +01:00
|
|
|
android:id="@+id/rating_indicator_image_view"
|
2024-03-24 18:50:05 +01:00
|
|
|
android:layout_width="42dp"
|
2024-03-24 00:45:19 +01:00
|
|
|
android:layout_height="wrap_content"
|
2024-03-24 18:50:05 +01:00
|
|
|
android:paddingVertical="8dp"
|
2024-03-24 00:45:19 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/song_cover_image_view"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/search_result_download_indicator_image_view"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/search_result_song_title_text_view"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/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"
|
2024-03-24 18:50:05 +01:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2024-03-24 00:45:19 +01:00
|
|
|
tools:visibility="visible" />
|
2024-03-24 18:50:05 +01:00
|
|
|
|
|
|
|
|
<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>
|
2024-03-24 00:45:19 +01:00
|
|
|
|
2023-09-09 18:43:18 +02:00
|
|
|
<FrameLayout
|
2024-03-23 22:49:05 +01:00
|
|
|
android:id="@+id/search_result_download_indicator_image_view"
|
2023-09-09 18:43:18 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="12dp"
|
2021-04-27 11:05:58 +02:00
|
|
|
android:visibility="gone"
|
2023-09-09 18:43:18 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/song_cover_image_view"
|
2021-04-26 19:17:42 +02:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/search_result_song_more_button"
|
2024-03-24 00:45:19 +01:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/rating_indicator_image_view"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/song_cover_image_view"
|
|
|
|
|
tools:visibility="visible">
|
2021-04-26 19:17:42 +02:00
|
|
|
|
2023-09-09 18:43:18 +02:00
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="18dp"
|
|
|
|
|
android:layout_height="18dp"
|
|
|
|
|
android:background="@drawable/ic_download"
|
|
|
|
|
android:foreground="?android:attr/selectableItemBackgroundBorderless" />
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
2021-04-24 11:45:53 +02:00
|
|
|
android:id="@+id/search_result_song_more_button"
|
2023-09-09 18:43:18 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="12dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/song_cover_image_view"
|
2021-04-16 10:08:31 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2024-03-23 22:49:05 +01:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/search_result_download_indicator_image_view"
|
2023-09-09 18:43:18 +02:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/song_cover_image_view">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="18dp"
|
|
|
|
|
android:layout_height="18dp"
|
|
|
|
|
android:background="@drawable/ic_more_vert"
|
|
|
|
|
android:foreground="?android:attr/selectableItemBackgroundBorderless" />
|
|
|
|
|
</FrameLayout>
|
2021-04-16 10:08:31 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|