mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-02 18:31:40 +00:00
68 lines
3 KiB
XML
68 lines
3 KiB
XML
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:paddingTop="4dp"
|
||
|
|
android:paddingBottom="4dp"
|
||
|
|
android:paddingEnd="4dp">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:id="@+id/imageView"
|
||
|
|
android:layout_width="48dp"
|
||
|
|
android:layout_height="48dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:backgroundTint="@color/colorAccent"
|
||
|
|
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"
|
||
|
|
card_view:cardUseCompatPadding="false"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/search_result_song_title_text_view"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/open_sans_font_family"
|
||
|
|
android:paddingStart="12dp"
|
||
|
|
android:paddingTop="4dp"
|
||
|
|
android:text="@string/label_placeholder"
|
||
|
|
android:textColor="@color/titleTextColor"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintStart_toEndOf="@+id/imageView"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
app:layout_constraintBottom_toTopOf="@id/search_result_song_artist_text_view"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/search_result_song_artist_text_view"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/open_sans_font_family"
|
||
|
|
android:paddingStart="12dp"
|
||
|
|
android:paddingBottom="4dp"
|
||
|
|
android:text="@string/label_placeholder"
|
||
|
|
android:textColor="@color/subtitleTextColor"
|
||
|
|
android:textSize="12sp"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintStart_toEndOf="@+id/imageView"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/search_result_song_title_text_view" />
|
||
|
|
|
||
|
|
<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"
|
||
|
|
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" />
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|