2018-07-27 18:37:33 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout 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:id="@+id/root_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2018-11-05 19:23:07 +05:30
|
|
|
<com.google.android.material.card.MaterialCardView
|
2018-12-08 09:04:15 +05:30
|
|
|
android:id="@+id/imageContainer"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
2018-11-20 20:57:59 +05:30
|
|
|
android:layout_height="172dp"
|
2018-08-08 13:33:38 +05:30
|
|
|
app:cardCornerRadius="12dp"
|
2018-07-27 18:37:33 +05:30
|
|
|
app:cardUseCompatPadding="true">
|
|
|
|
|
2018-08-30 14:59:30 +05:30
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-07-27 18:37:33 +05:30
|
|
|
android:id="@+id/image"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scaleType="centerCrop" />
|
|
|
|
|
2018-08-30 14:59:30 +05:30
|
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
2018-12-08 09:04:15 +05:30
|
|
|
android:id="@+id/playSongs"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
android:layout_margin="12dp"
|
|
|
|
android:background="@drawable/color_circle_gradient"
|
|
|
|
android:backgroundTint="@color/eighty_percent_black_overlay"
|
|
|
|
android:padding="8dp"
|
2019-06-05 13:47:45 +05:30
|
|
|
app:srcCompat="@drawable/ic_play_arrow_white_32dp" />
|
2018-11-05 19:23:07 +05:30
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-28 23:22:49 +05:30
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-07-27 18:37:33 +05:30
|
|
|
android:id="@+id/text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:paddingStart="8dp"
|
2018-09-23 15:34:43 +05:30
|
|
|
android:paddingTop="6dp"
|
2018-08-08 13:33:38 +05:30
|
|
|
android:paddingEnd="8dp"
|
2018-11-05 19:23:07 +05:30
|
|
|
android:paddingBottom="4dp"
|
2019-09-02 20:21:53 +05:30
|
|
|
android:textAppearance="@style/TextViewNormal"
|
2019-09-28 23:22:49 +05:30
|
|
|
android:textColor="?colorOnBackground"
|
2018-07-27 18:37:33 +05:30
|
|
|
tools:ignore="MissingPrefix"
|
|
|
|
tools:text="My top tracks" />
|
|
|
|
|
2019-09-28 23:22:49 +05:30
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-07-27 18:37:33 +05:30
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
2018-11-05 19:23:07 +05:30
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingEnd="8dp"
|
2019-09-02 20:21:53 +05:30
|
|
|
android:textAppearance="@style/TextViewSubtitle1"
|
2018-12-08 09:04:15 +05:30
|
|
|
android:textStyle="bold"
|
2018-07-27 18:37:33 +05:30
|
|
|
tools:ignore="MissingPrefix"
|
|
|
|
tools:text="My top tracks" />
|
|
|
|
|
|
|
|
</LinearLayout>
|