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"
|
2018-08-08 13:33:38 +05:30
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:orientation="vertical">
|
|
|
|
|
2018-08-08 13:33:38 +05:30
|
|
|
<code.name.monkey.retromusic.views.WidthFitSquareLayout
|
|
|
|
android:layout_width="136dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2018-08-30 14:59:30 +05:30
|
|
|
<androidx.cardview.widget.CardView
|
2018-08-08 13:33:38 +05:30
|
|
|
android:id="@+id/image_container_card"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
app:cardCornerRadius="8dp"
|
|
|
|
app:cardPreventCornerOverlap="true">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2018-08-30 14:59:30 +05:30
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-08-08 13:33:38 +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.cardview.widget.CardView>
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2018-08-08 13:33:38 +05:30
|
|
|
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:padding="12dp"
|
|
|
|
android:textColor="?android:attr/textColorPrimary" />
|
2018-07-27 18:37:33 +05:30
|
|
|
</LinearLayout>
|