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"
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:paddingLeft="16dp">
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.cardview.widget.CardView
|
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"
|
|
|
|
app:cardCornerRadius="6dp"
|
|
|
|
app:cardElevation="0dp">
|
|
|
|
|
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"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
android:gravity="center"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:minHeight="40dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
|
|
|
android:visibility="gone" />
|
2018-08-30 09:29:30 +00:00
|
|
|
</androidx.cardview.widget.CardView>
|
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_marginBottom="12dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_weight="1.0"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:paddingStart="16dp">
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/title"
|
|
|
|
style="@style/TextAppearance.AppCompat.Subhead"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:attr/textColorPrimary" />
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/text"
|
|
|
|
style="@style/TextAppearance.AppCompat.Body1"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
</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>
|