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

38 lines
1.4 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-08 08:03:38 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2018-07-27 13:07:33 +00:00
android:orientation="vertical">
2018-08-08 08:03:38 +00:00
<code.name.monkey.retromusic.views.WidthFitSquareLayout
android:layout_width="136dp"
android:layout_height="wrap_content"
android:orientation="vertical">
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.cardview.widget.CardView
2018-08-08 08:03:38 +00:00
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 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatImageView
2018-08-08 08:03:38 +00:00
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop" />
2018-08-30 09:29:30 +00:00
</androidx.cardview.widget.CardView>
2018-07-27 13:07:33 +00:00
2018-08-08 08:03:38 +00:00
</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 13:07:33 +00:00
</LinearLayout>