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

77 lines
2.8 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="52dp"
android:background="?rectSelector"
android:clickable="true"
android:focusable="true"
android:orientation="horizontal">
<FrameLayout
android:id="@+id/image_container"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="0"
android:paddingLeft="16dp"
android:paddingEnd="0dp">
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:id="@+id/image_text"
style="@style/TextAppearance.MaterialComponents.Subtitle2"
android:layout_width="36dp"
android:layout_height="match_parent"
android:fontFamily="sans-serif"
android:gravity="center"
android:maxLines="1"
android:minHeight="40dp" />
</FrameLayout>
<FrameLayout
android:id="@+id/title_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1.0"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingEnd="0dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="6dp"
android:paddingEnd="0dp">
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:id="@+id/title"
style="@style/TextAppearance.MaterialComponents.Body1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:maxLines="1"
tools:text="Song title" />
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
android:id="@+id/time"
style="@style/TextAppearance.MaterialComponents.Caption"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:padding="4dp"
tools:text="22:00" />
</LinearLayout>
</FrameLayout>
<code.name.monkey.retromusic.views.IconImageView
android:id="@+id/menu"
style="@style/OverFlowButton"
android:layout_margin="0dp"
android:layout_weight="0"
android:background="@null"
android:rotation="90"
tools:visibility="visible" />
</LinearLayout>