PlayerAndroid/app/src/main/res/layout/fragment_plain_controls_fra...

61 lines
2.6 KiB
XML
Raw Normal View History

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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-08-07 16:55:11 +00:00
android:gravity="center_vertical"
2018-07-27 13:07:33 +00:00
android:orientation="vertical">
<RelativeLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2019-03-03 09:20:15 +00:00
android:layout_height="@dimen/progress_slider_height"
android:paddingStart="12dp"
android:paddingEnd="12dp">
2018-07-27 13:07:33 +00:00
2019-07-27 05:05:52 +00:00
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/songCurrentProgress"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:fontFamily="sans-serif-medium"
android:gravity="center_vertical|left|end"
android:paddingLeft="8dp"
android:singleLine="true"
2019-07-31 09:09:29 +00:00
android:textAppearance="@style/TextAppearance.MaterialComponents.Overline"
android:textColor="?android:textColorSecondary"
android:textSize="12sp"
tools:ignore="RtlHardcoded,RtlSymmetry" />
2019-07-27 05:05:52 +00:00
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/songTotalTime"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:fontFamily="sans-serif-medium"
android:gravity="center_vertical|right|end"
android:paddingRight="8dp"
android:singleLine="true"
2019-07-31 09:09:29 +00:00
android:textAppearance="@style/TextAppearance.MaterialComponents.Overline"
android:textColor="?android:textColorSecondary"
android:textSize="12sp"
tools:ignore="RtlHardcoded,RtlSymmetry" />
2019-07-27 05:05:52 +00:00
<androidx.appcompat.widget.AppCompatSeekBar
android:id="@+id/progressSlider"
style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/songTotalTime"
android:layout_toRightOf="@id/songCurrentProgress"
android:maxHeight="2dp"
2019-07-31 09:09:29 +00:00
android:progressDrawable="@drawable/color_progress_seek"
android:splitTrack="false"
tools:ignore="RtlHardcoded,UnusedAttribute"
tools:progress="20" />
</RelativeLayout>
2018-07-27 13:07:33 +00:00
2018-12-05 12:13:50 +00:00
<include layout="@layout/media_button" />
2018-07-27 13:07:33 +00:00
2018-12-05 12:13:50 +00:00
<include layout="@layout/volume_controls" />
2018-07-27 13:07:33 +00:00
</LinearLayout>