2018-11-13 09:00:08 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<com.google.android.material.card.MaterialCardView 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:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:cardCornerRadius="8dp"
|
2019-10-09 23:08:13 +05:30
|
|
|
app:cardElevation="4dp"
|
2019-10-26 19:44:09 +05:30
|
|
|
app:cardUseCompatPadding="true">
|
2018-11-13 09:00:08 +05:30
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.WidthFitSquareLayout
|
|
|
|
android:id="@+id/image_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/image"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
android:transitionName="@string/transition_album_art"
|
2019-10-26 19:44:09 +05:30
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:src="@tools:sample/avatars" />
|
2018-11-13 09:00:08 +05:30
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/mask"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="@drawable/shadow_up_home" />
|
|
|
|
</LinearLayout>
|
|
|
|
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
|
|
|
|
|
|
|
|
|
2019-09-02 20:21:53 +05:30
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-11-13 09:00:08 +05:30
|
|
|
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:paddingStart="8dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingBottom="8dp"
|
2019-09-02 20:21:53 +05:30
|
|
|
android:textAppearance="@style/TextViewSubtitle1"
|
2018-11-13 09:00:08 +05:30
|
|
|
android:textColor="@color/md_white_1000"
|
2019-09-28 23:22:49 +05:30
|
|
|
tools:text="@string/bug_report_summary" />
|
2018-11-13 09:00:08 +05:30
|
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|