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

104 lines
4.0 KiB
XML
Raw Normal View History

2018-11-05 13:53:07 +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"
2019-10-02 16:34:39 +00:00
android:layout_height="wrap_content"
2018-11-05 13:53:07 +00:00
android:gravity="center_vertical"
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">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/songCurrentProgress"
2018-11-05 13:53:07 +00:00
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"
2019-12-05 18:18:54 +00:00
android:textColor="?android:attr/textColorSecondary"
2018-11-05 13:53:07 +00:00
android:textSize="12sp"
tools:ignore="RtlHardcoded,RtlSymmetry"
tools:text="00:22" />
2018-11-05 13:53:07 +00:00
<com.google.android.material.textview.MaterialTextView
android:id="@+id/songTotalTime"
2018-11-05 13:53:07 +00:00
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"
2019-12-05 18:18:54 +00:00
android:textColor="?android:attr/textColorSecondary"
2018-11-05 13:53:07 +00:00
android:textSize="12sp"
tools:ignore="RtlHardcoded,RtlSymmetry"
2019-09-29 18:58:10 +00:00
tools:text="00:22" />
2018-11-05 13:53:07 +00:00
2019-07-27 05:05:52 +00:00
<androidx.appcompat.widget.AppCompatSeekBar
android:id="@+id/progressSlider"
2018-11-05 13:53:07 +00:00
style="@style/MusicProgressSlider"
android:layout_height="match_parent"
android:layout_toLeftOf="@id/songTotalTime"
android:layout_toRightOf="@id/songCurrentProgress"
2018-11-05 13:53:07 +00:00
tools:ignore="RtlHardcoded,UnusedAttribute" />
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center"
android:orientation="vertical"
android:padding="8dp">
<com.google.android.material.textview.MaterialTextView
2018-11-05 13:53:07 +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"
android:paddingEnd="16dp"
android:scrollHorizontally="true"
android:singleLine="true"
2019-10-04 10:58:28 +00:00
android:textAppearance="@style/TextViewHeadline6"
2019-10-03 17:13:04 +00:00
android:textStyle="bold"
tools:text="@tools:sample/lorem/random" />
2018-11-05 13:53:07 +00:00
<com.google.android.material.textview.MaterialTextView
2018-11-05 13:53:07 +00:00
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:ellipsize="end"
android:gravity="center"
android:maxLines="1"
2019-11-04 18:43:54 +00:00
android:paddingStart="16dp"
android:paddingTop="8dp"
android:paddingEnd="16dp"
2019-10-02 16:34:39 +00:00
android:textAppearance="@style/TextViewBody2"
tools:text="@tools:sample/lorem/random" />
2018-11-05 13:53:07 +00:00
</LinearLayout>
<include layout="@layout/media_button" />
2018-11-05 13:53:07 +00:00
2019-12-01 11:28:57 +00:00
<FrameLayout
android:id="@+id/volumeFragmentContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
android:paddingStart="8dp"
android:paddingEnd="8dp" />
2018-11-05 13:53:07 +00:00
</LinearLayout>