2020-11-23 09:28:20 +01:00
|
|
|
<LinearLayout 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"
|
2020-11-26 16:05:58 +01:00
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
2020-11-21 13:54:49 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
2020-11-22 19:11:38 +01:00
|
|
|
android:paddingTop="2dp"
|
2020-11-23 09:28:20 +01:00
|
|
|
android:paddingEnd="4dp"
|
|
|
|
|
android:paddingBottom="2dp">
|
2020-11-21 13:54:49 +01:00
|
|
|
|
2020-11-26 16:05:58 +01:00
|
|
|
<androidx.cardview.widget.CardView
|
2020-11-21 13:54:49 +01:00
|
|
|
android:id="@+id/imageView"
|
2020-11-26 16:05:58 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
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-22 19:11:38 +01:00
|
|
|
android:backgroundTint="@color/cardColor"
|
2020-11-21 13:54:49 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:tint="@color/subtitleTextColor"
|
|
|
|
|
card_view:cardCornerRadius="4dp"
|
|
|
|
|
card_view:cardElevation="2dp"
|
|
|
|
|
card_view:cardPreventCornerOverlap="false"
|
2020-11-26 16:05:58 +01:00
|
|
|
card_view:cardUseCompatPadding="false">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/song_cover_image_view"
|
|
|
|
|
android:layout_width="48dp"
|
|
|
|
|
android:layout_height="48dp" />
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
2020-11-21 13:54:49 +01:00
|
|
|
|
2020-11-23 09:28:20 +01:00
|
|
|
<LinearLayout
|
2020-11-21 13:54:49 +01:00
|
|
|
android:layout_width="wrap_content"
|
2020-11-23 09:28:20 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_weight="1">
|
2020-11-21 13:54:49 +01:00
|
|
|
|
2020-11-23 09:28:20 +01:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/search_result_song_title_text_view"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
|
android:fontFamily="@font/open_sans_font_family"
|
|
|
|
|
android:maxLines="1"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="12dp"
|
|
|
|
|
android:text="@string/label_placeholder"
|
|
|
|
|
android:textColor="@color/titleTextColor"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/search_result_song_artist_text_view"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:fontFamily="@font/open_sans_font_family"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:text="@string/label_placeholder"
|
|
|
|
|
android:textColor="@color/subtitleTextColor"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
</LinearLayout>
|
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"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2020-11-23 09:28:20 +01:00
|
|
|
</LinearLayout>
|