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"
|
|
|
|
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:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:foreground="?rectSelector"
|
|
|
|
android:minHeight="72dp"
|
|
|
|
tools:ignore="MissingPrefix">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.IconImageView
|
|
|
|
android:id="@+id/drag_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical|start"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:srcCompat="@drawable/ic_drag_vertical_white_24dp"
|
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/image_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingEnd="0dp">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/image_text_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2019-01-28 10:45:51 +00:00
|
|
|
app:cardCornerRadius="6dp">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/image"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:scaleType="centerCrop" />
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/image_text"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_width="wrap_content"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:minHeight="40dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
2018-12-04 15:34:26 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:text="1"
|
|
|
|
tools:visibility="visible" />
|
2018-11-05 13:53:07 +00:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2018-07-27 13:07:33 +00:00
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/title_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginTop="12dp"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_marginBottom="12dp"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_weight="1.0"
|
|
|
|
android:orientation="vertical"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-12-04 15:34:26 +00:00
|
|
|
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
2019-01-02 03:55:55 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle1"
|
2019-01-28 10:45:51 +00:00
|
|
|
android:textSize="16sp" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-12-04 15:34:26 +00:00
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
android:ellipsize="end"
|
2019-01-02 03:55:55 +00:00
|
|
|
android:maxLines="1"
|
|
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2" />
|
2018-07-27 13:07:33 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.IconImageView
|
|
|
|
android:id="@+id/menu"
|
|
|
|
style="@style/OverFlowButton"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_weight="0" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/separator"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:background="?attr/dividerColor"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/short_separator"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_marginStart="72dp"
|
|
|
|
android:background="?attr/dividerColor"
|
|
|
|
android:visibility="gone" />
|
|
|
|
</FrameLayout>
|