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

72 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:id="@+id/playback_controls"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:orientation="vertical"
tools:ignore="MissingPrefix">
<SeekBar
android:id="@+id/progressSlider"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxHeight="3dp"
android:paddingStart="24dp"
2018-11-05 13:53:07 +00:00
android:paddingEnd="24dp"
2018-07-27 13:07:33 +00:00
android:progressDrawable="@drawable/color_progress_seek"
2018-11-05 13:53:07 +00:00
android:splitTrack="false"
2018-07-27 13:07:33 +00:00
android:thumb="@drawable/switch_thumb_material"
tools:progress="20" />
<include layout="@layout/player_time" />
2018-07-27 13:07:33 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center"
android:orientation="vertical"
android:padding="8dp">
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatTextView
2018-07-27 13:07:33 +00:00
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:freezesText="true"
android:gravity="center"
android:marqueeRepeatLimit="marquee_forever"
android:paddingStart="16dp"
2018-11-05 13:53:07 +00:00
android:paddingEnd="16dp"
2018-07-27 13:07:33 +00:00
android:scrollHorizontally="true"
android:singleLine="true"
2019-02-23 17:39:02 +00:00
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle1"
2018-07-27 13:07:33 +00:00
android:textColor="?android:attr/textColorPrimary"
tools:text="Title" />
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatTextView
2018-07-27 13:07:33 +00:00
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="4dp"
android:ellipsize="end"
android:gravity="center"
android:maxLines="1"
android:paddingStart="16dp"
2018-11-05 13:53:07 +00:00
android:paddingEnd="16dp"
2019-02-23 17:39:02 +00:00
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
2018-07-27 13:07:33 +00:00
android:textColor="?android:attr/textColorSecondary" />
</LinearLayout>
<include layout="@layout/media_button" />
2018-07-27 13:07:33 +00:00
<include layout="@layout/volume_controls" />
2018-07-27 13:07:33 +00:00
</LinearLayout>