2021-04-16 10:08:31 +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"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
2020-11-30 20:54:05 +01:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="3dp"
|
|
|
|
|
android:paddingEnd="12dp"
|
|
|
|
|
android:paddingBottom="3dp"
|
|
|
|
|
android:background="?attr/selectableItemBackground">
|
2020-11-21 13:54:49 +01: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"
|
2020-11-23 09:28:20 +01:00
|
|
|
android:layout_margin="2dp"
|
2020-11-21 13:54:49 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-04-16 10:08:31 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
2020-11-26 16:05:58 +01:00
|
|
|
|
2021-04-16 10:08:31 +02:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/search_result_song_title_text_view"
|
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:singleLine="true"
|
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
|
android:marqueeRepeatLimit ="marquee_forever"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
|
android:fontFamily="@font/open_sans_font_family"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
android:paddingEnd="12dp"
|
|
|
|
|
android:text="@string/label_placeholder"
|
|
|
|
|
android:textColor="@color/titleTextColor"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/song_cover_image_view"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/search_result_song_duration_text_view"/>
|
2020-11-23 09:28:20 +01:00
|
|
|
|
2021-04-16 10:08:31 +02:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/search_result_song_artist_text_view"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:fontFamily="@font/open_sans_font_family"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:text="@string/label_placeholder"
|
|
|
|
|
android:textColor="@color/subtitleTextColor"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/search_result_song_title_text_view"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/song_cover_image_view"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/search_result_song_duration_text_view"/>
|
2020-11-21 13:54:49 +01:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/search_result_song_duration_text_view"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:fontFamily="@font/open_sans_font_family"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2020-11-23 09:28:20 +01:00
|
|
|
android:gravity="center_vertical"
|
2020-11-21 13:54:49 +01:00
|
|
|
android:text="@string/label_placeholder"
|
|
|
|
|
android:textColor="@color/subtitleTextColor"
|
2021-04-16 10:08:31 +02:00
|
|
|
android:textSize="12sp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|