95 lines
3.4 KiB
XML
95 lines
3.4 KiB
XML
<?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="58dp"
|
|
android:foreground="?attr/rectSelector"
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
<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:layout_marginLeft="-8dp"
|
|
android:layout_marginStart="-8dp"
|
|
android:visibility="gone"
|
|
app:srcCompat="@drawable/ic_drag_vertical_white_24dp"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:descendantFocusability="blocksDescendants"
|
|
android:orientation="horizontal">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/image_container"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:paddingEnd="0dp"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="0dp"
|
|
android:paddingStart="16dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/image"
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:layout_gravity="center"
|
|
android:scaleType="centerCrop"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<TextView
|
|
android:id="@+id/image_text"
|
|
android:layout_width="40dp"
|
|
android:layout_height="match_parent"
|
|
android:fontFamily="sans-serif"
|
|
android:gravity="center"
|
|
android:minHeight="40dp"
|
|
android:singleLine="true"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
|
android:visibility="gone" />
|
|
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_weight="1"
|
|
android:singleLine="true"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
|
|
|
|
<code.name.monkey.retromusic.views.IconImageView
|
|
android:id="@+id/menu"
|
|
style="@style/OverFlowButton"
|
|
android:layout_gravity="center_vertical"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
</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_marginLeft="72dp"
|
|
android:layout_marginStart="72dp"
|
|
android:background="?attr/dividerColor" />
|
|
|
|
</FrameLayout> |