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
|
2019-11-08 17:07:30 +00:00
|
|
|
android:id="@+id/imageContainer"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0"
|
2019-10-26 08:21:12 +00:00
|
|
|
android:paddingStart="8dp"
|
2019-12-01 11:28:57 +00:00
|
|
|
android:paddingEnd="8dp"
|
2019-10-26 08:21:12 +00:00
|
|
|
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
|
2019-11-08 17:07:30 +00:00
|
|
|
android:id="@+id/imageText"
|
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-12-22 17:50:25 +00:00
|
|
|
android:fontFamily="sans-serif"
|
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"
|
2019-12-06 17:13:09 +00:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2019-12-01 11:28:57 +00:00
|
|
|
tools:text="@tools:sample/date/hhmm" />
|
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"
|
2019-11-08 17:07:30 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/imageContainer"
|
2019-10-26 08:21:12 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2019-11-15 16:30:10 +00:00
|
|
|
tools:text="@tools:sample/lorem/random" />
|
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"
|
2019-12-22 17:50:25 +00:00
|
|
|
android:fontFamily="sans-serif"
|
2019-10-26 08:21:12 +00:00
|
|
|
android:fontFeatureSettings="onum"
|
2019-12-15 05:34:47 +00:00
|
|
|
android:padding="8dp"
|
2019-12-06 17:13:09 +00:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2019-10-26 08:21:12 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/menu"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2019-11-15 16:30:10 +00:00
|
|
|
tools:text="@tools:sample/date/hhmm" />
|
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-12-01 11:28:57 +00:00
|
|
|
app:tint="?attr/colorControlNormal"
|
2018-07-27 13:07:33 +00:00
|
|
|
tools:visibility="visible" />
|
2019-10-26 08:21:12 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|