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"
|
2020-01-06 03:12:32 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:ignore="MissingPrefix">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2020-01-06 03:12:32 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/progress_container_height"
|
|
|
|
android:background="@color/twenty_percent_black_overlay">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2020-01-06 03:12:32 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/songCurrentProgress"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:gravity="center_vertical|left|end"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="?colorOnSecondary"
|
|
|
|
android:textSize="12sp"
|
2020-01-09 20:53:18 +00:00
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry"
|
2020-06-06 06:33:37 +00:00
|
|
|
tools:text="@tools:sample/date/hhmmss" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2020-01-06 03:12:32 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/songTotalTime"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:gravity="center_vertical|right|end"
|
|
|
|
android:paddingRight="8dp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="?colorOnSecondary"
|
|
|
|
android:textSize="12sp"
|
2020-01-09 20:53:18 +00:00
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry"
|
2020-06-06 06:33:37 +00:00
|
|
|
tools:text="@tools:sample/date/hhmmss" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2020-01-06 03:12:32 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatSeekBar
|
|
|
|
android:id="@+id/progressSlider"
|
|
|
|
style="@style/MusicProgressSlider"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_toLeftOf="@id/songTotalTime"
|
|
|
|
android:layout_toRightOf="@id/songCurrentProgress"
|
|
|
|
tools:ignore="RtlHardcoded,UnusedAttribute" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2020-01-06 03:12:32 +00:00
|
|
|
</RelativeLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2021-09-08 18:30:20 +00:00
|
|
|
<include
|
|
|
|
android:id="@+id/media_button"
|
|
|
|
layout="@layout/media_button" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2020-01-06 03:12:32 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/volumeFragmentContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingEnd="8dp" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2020-01-06 03:12:32 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:foreground="?rectSelector"
|
|
|
|
android:minHeight="72dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
tools:ignore="UnusedAttribute">
|
2018-12-05 04:29:55 +00:00
|
|
|
|
|
|
|
|
2020-01-06 03:12:32 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/image"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:padding="16dp"
|
|
|
|
android:scaleType="centerCrop"
|
2020-07-19 21:00:30 +00:00
|
|
|
app:srcCompat="@drawable/ic_play_circle_filled"
|
2020-01-06 03:12:32 +00:00
|
|
|
app:tint="?colorAccent" />
|
2018-12-05 04:29:55 +00:00
|
|
|
|
2020-01-06 03:12:32 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_marginBottom="12dp"
|
|
|
|
android:layout_weight="1.0"
|
2021-09-08 18:30:20 +00:00
|
|
|
android:clickable="false"
|
2021-09-16 12:59:31 +00:00
|
|
|
android:orientation="vertical"
|
2020-01-06 03:12:32 +00:00
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:paddingEnd="16dp">
|
2018-12-05 04:29:55 +00:00
|
|
|
|
2020-01-06 03:12:32 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/title"
|
2021-11-10 06:36:54 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-01-06 03:12:32 +00:00
|
|
|
android:layout_height="wrap_content"
|
2021-09-16 12:59:31 +00:00
|
|
|
android:clickable="true"
|
2020-01-06 03:12:32 +00:00
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:focusable="true"
|
|
|
|
android:freezesText="true"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="@style/TextViewHeadline6"
|
|
|
|
android:textStyle="bold"
|
|
|
|
tools:text="@tools:sample/lorem/random" />
|
2018-12-05 04:29:55 +00:00
|
|
|
|
2020-01-06 03:12:32 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-09-08 18:30:20 +00:00
|
|
|
android:clickable="true"
|
2021-09-16 12:59:31 +00:00
|
|
|
android:ellipsize="marquee"
|
2020-01-06 03:12:32 +00:00
|
|
|
android:focusable="true"
|
|
|
|
android:freezesText="true"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:scrollHorizontally="true"
|
2020-02-26 16:49:24 +00:00
|
|
|
android:singleLine="true"
|
2020-01-06 03:12:32 +00:00
|
|
|
android:textStyle="bold"
|
|
|
|
tools:text="@tools:sample/lorem/random" />
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/songInfo"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:textSize="12sp"
|
|
|
|
tools:text="@tools:sample/lorem/random" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
</LinearLayout>
|