123 lines
No EOL
4.7 KiB
XML
123 lines
No EOL
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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:id="@+id/player_footer_frame"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:paddingBottom="8dp"
|
|
android:textAppearance="@style/TextAppearance.Widget.AppCompat.Toolbar.Title"
|
|
android:textColor="@color/md_white_1000" />
|
|
|
|
<TextView
|
|
android:id="@+id/text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:alpha="0.75"
|
|
android:gravity="center"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:paddingBottom="16dp"
|
|
android:textAppearance="@style/TextAppearance.Widget.AppCompat.Toolbar.Subtitle"
|
|
android:textColor="@color/md_white_1000" />
|
|
|
|
<SeekBar
|
|
android:id="@+id/progressSlider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:maxHeight="3dp"
|
|
android:paddingStart="22dp"
|
|
android:paddingEnd="22dp"
|
|
android:paddingBottom="4dp"
|
|
android:progressDrawable="@drawable/color_progress_seek"
|
|
android:splitTrack="false"
|
|
android:thumb="@drawable/switch_thumb_material"
|
|
tools:progress="20" />
|
|
|
|
<include layout="@layout/player_time" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layoutDirection="ltr"
|
|
tools:ignore="ContentDescription,UnusedAttribute">
|
|
|
|
<ImageButton
|
|
android:id="@+id/previousButton"
|
|
android:layout_width="52dp"
|
|
android:layout_height="52dp"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_toStartOf="@+id/playPauseButton"
|
|
android:layout_toLeftOf="@+id/playPauseButton"
|
|
android:background="?attr/roundSelector"
|
|
android:padding="8dp"
|
|
android:scaleType="fitCenter"
|
|
app:srcCompat="@drawable/ic_skip_previous_white_24dp"
|
|
tools:ignore="MissingPrefix" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/nextButton"
|
|
android:layout_width="52dp"
|
|
android:layout_height="52dp"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_toEndOf="@+id/playPauseButton"
|
|
android:layout_toRightOf="@+id/playPauseButton"
|
|
android:background="?attr/roundSelector"
|
|
android:padding="8dp"
|
|
android:scaleType="fitCenter"
|
|
app:srcCompat="@drawable/ic_skip_next_white_24dp"
|
|
tools:ignore="MissingPrefix" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/repeatButton"
|
|
android:layout_width="52dp"
|
|
android:layout_height="52dp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_centerVertical="true"
|
|
android:background="?attr/roundSelector"
|
|
android:padding="12dp"
|
|
android:scaleType="fitCenter"
|
|
app:srcCompat="@drawable/ic_repeat_white_24dp"
|
|
tools:ignore="MissingPrefix" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/shuffleButton"
|
|
android:layout_width="52dp"
|
|
android:layout_height="52dp"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:background="?attr/roundSelector"
|
|
android:padding="12dp"
|
|
android:scaleType="fitCenter"
|
|
app:srcCompat="@drawable/ic_shuffle_white_24dp"
|
|
tools:ignore="MissingPrefix" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/playPauseButton"
|
|
android:layout_width="72dp"
|
|
android:layout_height="72dp"
|
|
android:layout_centerInParent="true"
|
|
android:background="@drawable/line_button"
|
|
android:foreground="?attr/roundSelector"
|
|
android:padding="16dp"
|
|
android:scaleType="fitCenter"
|
|
tools:ignore="MissingPrefix"
|
|
tools:src="@drawable/ic_pause_white_24dp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<include layout="@layout/volume_controls" />
|
|
</LinearLayout> |