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

57 lines
2.2 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-11-05 13:53:07 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-11-05 13:53:07 +00:00
android:layout_height="wrap_content"
2020-02-25 13:15:23 +00:00
android:layout_margin="4dp"
2020-01-06 05:34:09 +00:00
android:background="?rectSelector"
2019-12-07 15:43:27 +00:00
android:clickable="true"
android:focusable="true"
2018-11-05 13:53:07 +00:00
tools:ignore="MissingPrefix">
2018-07-27 13:07:33 +00:00
2018-11-05 13:53:07 +00:00
<LinearLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-11-05 13:53:07 +00:00
android:orientation="vertical"
tools:ignore="UnusedAttribute,UselessParent">
2018-07-27 13:07:33 +00:00
2020-02-25 13:15:23 +00:00
<code.name.monkey.retromusic.views.RetroShapeableImageView
android:id="@+id/image"
2018-11-05 13:53:07 +00:00
android:layout_width="match_parent"
2019-12-07 15:43:27 +00:00
android:layout_height="match_parent"
2020-02-25 13:15:23 +00:00
android:scaleType="centerCrop"
app:retroCornerSize="8dp"
tools:ignore="ContentDescription"
tools:srcCompat="@tools:sample/backgrounds/scenic" />
2018-11-05 13:53:07 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="vertical"
2020-01-02 03:53:43 +00:00
android:padding="8dp">
2018-07-27 13:07:33 +00:00
2019-09-28 17:52:49 +00:00
<com.google.android.material.textview.MaterialTextView
2018-11-05 13:53:07 +00:00
android:id="@+id/title"
2019-12-16 06:11:24 +00:00
android:layout_width="match_parent"
2018-11-05 13:53:07 +00:00
android:layout_height="wrap_content"
android:singleLine="true"
android:textAppearance="@style/TextViewSubtitle1"
2019-12-01 11:28:57 +00:00
android:textColor="?android:attr/textColorPrimary"
2019-09-28 17:52:49 +00:00
android:textStyle="bold"
tools:text="@string/bug_report_summary" />
2018-07-27 13:07:33 +00:00
2019-09-28 17:52:49 +00:00
<com.google.android.material.textview.MaterialTextView
2018-11-05 13:53:07 +00:00
android:id="@+id/text"
2019-12-16 06:11:24 +00:00
android:layout_width="match_parent"
2018-11-05 13:53:07 +00:00
android:layout_height="wrap_content"
android:paddingTop="4dp"
android:singleLine="true"
2019-12-01 11:28:57 +00:00
android:textColor="?android:attr/textColorSecondary"
2019-09-28 17:52:49 +00:00
tools:text="@string/bug_report_summary" />
2018-07-27 13:07:33 +00:00
2018-11-05 13:53:07 +00:00
</LinearLayout>
2018-07-27 13:07:33 +00:00
</LinearLayout>
</FrameLayout>