PlayerAndroid/app/src/main/res/layout/item_artist_square.xml

39 lines
1.5 KiB
XML
Raw Normal View History

2018-09-23 10:04:43 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-11-05 13:53:07 +00:00
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
2018-09-23 10:04:43 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:cardCornerRadius="6dp"
2018-11-05 13:53:07 +00:00
app:cardElevation="4dp"
2018-09-23 10:04:43 +00:00
app:cardUseCompatPadding="true">
<LinearLayout
2018-09-23 10:04:43 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/image"
2019-10-09 17:38:13 +00:00
android:layout_width="112dp"
android:layout_height="156dp"
2018-11-05 13:53:07 +00:00
android:scaleType="centerCrop" />
2018-09-23 10:04:43 +00:00
<FrameLayout
android:id="@+id/palette_color_container"
android:layout_width="match_parent"
android:layout_height="wrap_content">
2019-09-28 17:52:49 +00:00
<com.google.android.material.textview.MaterialTextView
2018-09-23 10:04:43 +00:00
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:padding="8dp"
2019-09-28 17:52:49 +00:00
android:textAppearance="@style/TextViewNormal"
2019-09-29 18:28:01 +00:00
android:textColor="?colorOnPrimary"
2018-09-23 10:04:43 +00:00
tools:text="@string/home" />
</FrameLayout>
</LinearLayout>
2018-11-05 13:53:07 +00:00
</com.google.android.material.card.MaterialCardView>