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

36 lines
1.5 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-05-14 13:37:15 +00:00
<androidx.constraintlayout.widget.ConstraintLayout 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"
2019-09-29 18:28:01 +00:00
xmlns:tools="http://schemas.android.com/tools"
2020-08-21 05:01:53 +00:00
android:layout_width="156dp"
2018-09-23 10:04:43 +00:00
android:layout_height="wrap_content"
android:layout_margin="8dp"
2020-01-06 05:34:09 +00:00
android:background="?attr/rectSelector"
android:orientation="vertical">
2018-07-27 13:07:33 +00:00
2020-05-23 15:09:07 +00:00
<code.name.monkey.retromusic.views.RetroShapeableImageView
android:id="@+id/image"
android:layout_width="156dp"
android:layout_height="156dp"
2020-05-23 15:09:07 +00:00
android:background="@android:color/transparent"
2020-05-14 13:37:15 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-05-23 15:09:07 +00:00
app:layout_constraintTop_toTopOf="parent"
2020-08-21 05:01:53 +00:00
app:retroCornerSize="72dp"
2020-05-23 15:09:07 +00:00
tools:src="@tools:sample/avatars" />
2018-07-27 13:07:33 +00:00
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:gravity="center"
2019-12-26 15:25:41 +00:00
android:maxLines="2"
android:paddingTop="12dp"
2021-09-16 12:59:31 +00:00
android:textAppearance="@style/TextViewBody1"
2020-05-14 18:14:42 +00:00
android:textColor="?android:attr/textColorPrimary"
2020-05-14 13:37:15 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-05-23 15:09:07 +00:00
app:layout_constraintTop_toBottomOf="@id/image"
2019-12-26 15:25:41 +00:00
tools:text="@tools:sample/full_names" />
2020-05-14 13:37:15 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>