2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-09-02 14:51:53 +00:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-08-22 17:54:07 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-11-30 01:06:16 +00:00
|
|
|
android:id="@+id/mini_player_content"
|
2018-08-01 06:51:27 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_height="48dp"
|
2019-10-01 18:02:48 +00:00
|
|
|
android:background="?colorSecondary"
|
2018-08-22 17:54:07 +00:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="false"
|
|
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="0dp"
|
2019-05-16 18:52:48 +00:00
|
|
|
android:paddingEnd="8dp">
|
2018-08-22 17:54:07 +00:00
|
|
|
|
2019-09-27 15:36:10 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
app:tint="?colorOnSurface"
|
|
|
|
tools:tint="?colorOnSurface"
|
2019-08-01 14:25:53 +00:00
|
|
|
android:id="@+id/miniPlayerImage"
|
2018-08-22 17:54:07 +00:00
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:srcCompat="@drawable/ic_keyboard_arrow_up_24dp"
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
2019-09-27 15:36:10 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-11-30 01:06:16 +00:00
|
|
|
android:id="@+id/miniPlayerTitle"
|
2018-08-22 17:54:07 +00:00
|
|
|
android:layout_width="0dp"
|
2018-09-23 10:04:43 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2018-08-22 17:54:07 +00:00
|
|
|
android:layout_weight="1"
|
2018-09-23 10:04:43 +00:00
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:focusable="true"
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
android:freezesText="true"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:gravity="center"
|
2018-09-23 10:04:43 +00:00
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:scrollHorizontally="true"
|
2019-09-02 14:51:53 +00:00
|
|
|
android:singleLine="true"
|
2019-09-27 15:36:10 +00:00
|
|
|
android:textAppearance="@style/TextViewNormal"
|
|
|
|
android:textColor="?colorOnSurface"
|
|
|
|
tools:text="Song name and details" />
|
2018-08-22 17:54:07 +00:00
|
|
|
|
2019-09-27 15:36:10 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-11-30 01:06:16 +00:00
|
|
|
android:id="@+id/actionPrevious"
|
2018-09-23 10:04:43 +00:00
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
2018-08-22 17:54:07 +00:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:background="?roundSelector"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:padding="6dp"
|
2019-09-27 15:36:10 +00:00
|
|
|
app:srcCompat="@drawable/ic_skip_previous_white_24dp"
|
|
|
|
app:tint="?colorOnSurface" />
|
2018-08-22 17:54:07 +00:00
|
|
|
|
2019-09-27 15:36:10 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-11-30 01:06:16 +00:00
|
|
|
android:id="@+id/miniPlayerPlayPauseButton"
|
2018-09-23 10:04:43 +00:00
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
2018-08-22 17:54:07 +00:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:background="?roundSelector"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:padding="6dp"
|
2018-08-22 17:54:07 +00:00
|
|
|
android:scaleType="center"
|
2018-09-09 19:44:46 +00:00
|
|
|
app:srcCompat="@drawable/ic_pause_white_24dp"
|
2019-09-27 15:36:10 +00:00
|
|
|
app:tint="?colorOnSurface"
|
2018-08-22 17:54:07 +00:00
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
2019-09-27 15:36:10 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-11-30 01:06:16 +00:00
|
|
|
android:id="@+id/actionNext"
|
2018-09-23 10:04:43 +00:00
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
2018-08-22 17:54:07 +00:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:background="?roundSelector"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:padding="6dp"
|
2019-09-27 15:36:10 +00:00
|
|
|
app:srcCompat="@drawable/ic_skip_next_white_24dp"
|
|
|
|
app:tint="?colorOnSurface"
|
|
|
|
tools:tint="?colorOnSurface" />
|
|
|
|
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2019-09-27 15:36:10 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-11-30 01:06:16 +00:00
|
|
|
android:id="@+id/actionPlayingQueue"
|
2018-09-23 10:04:43 +00:00
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:background="?roundSelector"
|
|
|
|
android:padding="6dp"
|
2019-09-27 15:36:10 +00:00
|
|
|
app:srcCompat="@drawable/ic_playlist_play_white_24dp"
|
|
|
|
app:tint="?colorOnSurface"
|
|
|
|
tools:tint="?colorOnSurface" />
|
2018-09-23 10:04:43 +00:00
|
|
|
|
2018-08-22 17:54:07 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-01-28 10:45:51 +00:00
|
|
|
<ProgressBar
|
2018-11-30 01:06:16 +00:00
|
|
|
android:id="@+id/progressBar"
|
2018-08-22 17:54:07 +00:00
|
|
|
style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="3dp"
|
2019-09-02 14:51:53 +00:00
|
|
|
android:progress="20" />
|
|
|
|
</FrameLayout>
|