98 lines
No EOL
3.9 KiB
XML
98 lines
No EOL
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:background="?attr/colorSurface"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="0dp"
|
|
android:paddingEnd="8dp">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
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"
|
|
app:tint="?attr/colorControlNormal"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/miniPlayerTitle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:ellipsize="marquee"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:freezesText="true"
|
|
android:gravity="center"
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
android:scrollHorizontally="true"
|
|
android:singleLine="true"
|
|
android:textAppearance="@style/TextViewNormal"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
tools:text="@tools:sample/lorem/random" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/actionPrevious"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?roundSelector"
|
|
android:padding="6dp"
|
|
app:srcCompat="@drawable/ic_skip_previous"
|
|
app:tint="?attr/colorControlNormal" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical">
|
|
|
|
<com.google.android.material.progressindicator.ProgressIndicator
|
|
android:id="@+id/progressBar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:circularRadius="16dp"
|
|
app:indicatorColor="@android:color/black"
|
|
app:indicatorType="circular"
|
|
app:indicatorWidth="2dp"
|
|
app:linearSeamless="true"
|
|
tools:progress="10" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/miniPlayerPlayPauseButton"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_gravity="center"
|
|
android:background="?roundSelector"
|
|
android:scaleType="center"
|
|
app:srcCompat="@drawable/ic_pause"
|
|
app:tint="?attr/colorControlNormal"
|
|
tools:ignore="ContentDescription" />
|
|
</FrameLayout>
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/actionNext"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?roundSelector"
|
|
android:padding="6dp"
|
|
app:srcCompat="@drawable/ic_skip_next"
|
|
app:tint="?attr/colorControlNormal" />
|
|
</LinearLayout>
|
|
|
|
|
|
</FrameLayout> |