mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-22 09:55:20 +01:00
40 lines
1.3 KiB
XML
40 lines
1.3 KiB
XML
|
<?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"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<code.name.monkey.retromusic.views.WidthFitSquareLayout
|
||
|
android:layout_width="128dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<android.support.v7.widget.CardView
|
||
|
android:id="@+id/image_container_card"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_margin="8dp"
|
||
|
app:cardCornerRadius="6dp"
|
||
|
app:cardElevation="4dp"
|
||
|
app:cardPreventCornerOverlap="true">
|
||
|
|
||
|
<android.support.v7.widget.AppCompatImageView
|
||
|
android:id="@+id/image"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:scaleType="centerCrop"
|
||
|
/>
|
||
|
</android.support.v7.widget.CardView>
|
||
|
|
||
|
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/title"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:padding="8dp"
|
||
|
android:ellipsize="end"
|
||
|
android:maxLines="1"
|
||
|
android:textColor="?android:attr/textColorPrimary"/>
|
||
|
</LinearLayout>
|