2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-10-26 08:21:12 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-09-28 17:52:49 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-07-27 13:07:33 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2019-09-28 17:52:49 +00:00
|
|
|
android:layout_height="@dimen/item_song_height"
|
2018-07-27 13:07:33 +00:00
|
|
|
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-10-26 08:21:12 +00:00
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-09-28 17:52:49 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/image_text"
|
2019-10-26 08:21:12 +00:00
|
|
|
android:layout_width="40dp"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_height="match_parent"
|
2019-09-02 14:51:53 +00:00
|
|
|
android:fontFeatureSettings="onum"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:maxLines="1"
|
2019-09-02 14:51:53 +00:00
|
|
|
android:minHeight="40dp"
|
2019-10-26 08:21:12 +00:00
|
|
|
android:textAppearance="@style/TextViewNormal"
|
|
|
|
android:textColor="?colorOnSecondary" />
|
2018-07-27 13:07:33 +00:00
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
2019-10-26 08:21:12 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="0dp"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-10-26 08:21:12 +00:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textAppearance="@style/TextViewBody1"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/time"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/image_container"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="Song title" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-10-26 08:21:12 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:fontFeatureSettings="onum"
|
|
|
|
android:padding="4dp"
|
|
|
|
android:textColor="?colorOnSecondary"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/menu"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="22:00" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
|
2019-09-28 17:52:49 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/menu"
|
|
|
|
style="@style/OverFlowButton"
|
2019-10-26 08:21:12 +00:00
|
|
|
android:layout_gravity="center"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_margin="0dp"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:rotation="90"
|
2019-10-26 08:21:12 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2019-09-29 08:37:57 +00:00
|
|
|
app:tint="?colorOnSecondary"
|
2018-07-27 13:07:33 +00:00
|
|
|
tools:visibility="visible" />
|
2019-10-26 08:21:12 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|