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

76 lines
2.7 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?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"
2019-01-28 10:45:51 +00:00
android:paddingLeft="16dp"
android:paddingEnd="0dp">
2018-07-27 13:07:33 +00:00
2019-01-28 10:45:51 +00:00
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
2018-07-27 13:07:33 +00:00
android:id="@+id/image_text"
2019-01-28 10:45:51 +00:00
style="@style/TextAppearance.MaterialComponents.Subtitle2"
2018-07-27 13:07:33 +00:00
android:layout_width="36dp"
android:layout_height="match_parent"
android:fontFamily="sans-serif"
android:gravity="center"
android:maxLines="1"
2019-01-28 10:45:51 +00:00
android:minHeight="40dp" />
2018-07-27 13:07:33 +00:00
</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"
2019-01-28 10:45:51 +00:00
android:paddingStart="16dp"
android:paddingEnd="0dp">
2018-07-27 13:07:33 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:orientation="horizontal"
2019-01-28 10:45:51 +00:00
android:paddingStart="6dp"
android:paddingEnd="0dp">
2018-07-27 13:07:33 +00:00
2019-01-28 10:45:51 +00:00
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
2018-07-27 13:07:33 +00:00
android:id="@+id/title"
2019-01-28 10:45:51 +00:00
style="@style/TextAppearance.MaterialComponents.Body1"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:maxLines="1"
tools:text="Song title" />
2019-01-28 10:45:51 +00:00
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
2018-07-27 13:07:33 +00:00
android:id="@+id/time"
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>