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

33 lines
1.2 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-08-22 17:54:07 +00:00
<code.name.monkey.retromusic.views.WidthFitSquareLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/image_container"
2019-01-28 10:45:51 +00:00
android:layout_width="match_parent"
2018-07-27 13:07:33 +00:00
android:layout_height="match_parent"
2018-08-22 17:54:07 +00:00
android:orientation="vertical">
<ImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
2018-11-05 13:53:07 +00:00
android:transitionName="@string/transition_album_art"
2018-08-22 17:54:07 +00:00
tools:ignore="ContentDescription" />
<View
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_gravity="bottom"
android:background="@drawable/shadow_up" />
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center"
android:gravity="center"
android:maxLines="2"
android:padding="12dp"
android:textColor="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
</code.name.monkey.retromusic.views.WidthFitSquareLayout>