108 lines
4.1 KiB
XML
108 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/playback_controls"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingPrefix">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/progress_container_height"
|
|
android:background="@color/twenty_percent_black_overlay">
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
|
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:textAppearance="@style/TextAppearance.AppCompat.Title"
|
|
android:textSize="12sp"
|
|
tools:ignore="RtlHardcoded,RtlSymmetry" />
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
|
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:textAppearance="@style/TextAppearance.AppCompat.Title"
|
|
android:textSize="12sp"
|
|
tools:ignore="RtlHardcoded,RtlSymmetry" />
|
|
|
|
<SeekBar
|
|
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" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<include layout="@layout/media_button" />
|
|
|
|
<include layout="@layout/volume_controls" />
|
|
|
|
|
|
<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">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/image"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="16dp"
|
|
android:gravity="center_vertical"
|
|
android:scaleType="centerCrop" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:layout_weight="1.0"
|
|
android:orientation="vertical"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp">
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
|
|
android:id="@+id/songTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="2dp"
|
|
android:ellipsize="end"
|
|
android:fontFamily="@font/font"
|
|
android:maxLines="1"
|
|
android:textSize="16sp" />
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
|
android:id="@+id/songText"
|
|
style="@style/TextAppearance.AppCompat.Body1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:ellipsize="end"
|
|
android:maxLines="1" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|