2018-08-31 16:30:06 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2019-12-29 22:15:01 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:background="@color/black"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
<com.google.android.exoplayer2.ui.AspectRatioFrameLayout
|
|
|
|
android:id="@+id/aspectRatioLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_gravity="center">
|
|
|
|
|
|
|
|
<SurfaceView
|
|
|
|
android:id="@+id/surfaceView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"/>
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/surfaceForeground"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@android:color/black"/>
|
|
|
|
|
|
|
|
</com.google.android.exoplayer2.ui.AspectRatioFrameLayout>
|
|
|
|
|
|
|
|
<com.google.android.exoplayer2.ui.SubtitleView
|
|
|
|
android:id="@+id/subtitleView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_gravity="center"/>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/endScreen"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:background="@android:color/white"
|
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/playQueuePanel"
|
|
|
|
android:layout_width="380dp"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:layout_height="match_parent"
|
2019-12-31 03:07:07 +01:00
|
|
|
android:visibility="gone"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:background="?attr/queue_background_color"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:id="@+id/playQueueControl">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/playQueueClose"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_marginRight="40dp"
|
|
|
|
android:layout_marginEnd="40dp"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:tint="?attr/colorAccent"
|
|
|
|
android:src="@drawable/ic_close_white_24dp"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
tools:ignore="ContentDescription"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/repeatButton"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_marginLeft="40dp"
|
|
|
|
android:layout_marginStart="40dp"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:tint="?attr/colorAccent"
|
|
|
|
android:src="@drawable/exo_controls_repeat_off"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
tools:ignore="ContentDescription,RtlHardcoded"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/shuffleButton"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_toRightOf="@id/repeatButton"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:tint="?attr/colorAccent"
|
|
|
|
android:src="@drawable/ic_shuffle_white_24dp"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
tools:ignore="ContentDescription,RtlHardcoded"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
2019-10-04 14:59:08 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2018-08-31 16:30:06 +02:00
|
|
|
android:id="@+id/playQueue"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_below="@id/playQueueControl"
|
|
|
|
android:scrollbars="vertical"
|
2019-12-29 22:15:01 +01:00
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
2018-08-31 16:30:06 +02:00
|
|
|
tools:listitem="@layout/play_queue_item"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/playbackControlRoot"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/video_overlay_color"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
2019-12-29 22:15:01 +01:00
|
|
|
<!-- All top controls in this layout -->
|
2018-08-31 16:30:06 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/playbackWindowRoot"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true">
|
|
|
|
|
2019-12-29 22:15:01 +01:00
|
|
|
<LinearLayout
|
2018-08-31 16:30:06 +02:00
|
|
|
android:id="@+id/topControls"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:background="@drawable/player_top_controls_bg"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:orientation="vertical"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:gravity="top"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:paddingTop="4dp"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:baselineAligned="false"
|
|
|
|
android:layout_toStartOf="@id/fullScreenButton">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/primaryControls"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:gravity="top"
|
|
|
|
android:paddingBottom="7dp"
|
|
|
|
android:paddingLeft="2dp"
|
|
|
|
android:paddingRight="6dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/metadataView"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:layout_width="0dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="top"
|
|
|
|
android:orientation="vertical"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:paddingTop="6dp"
|
|
|
|
android:paddingLeft="16dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:paddingRight="8dp"
|
2019-12-29 22:15:01 +01:00
|
|
|
tools:ignore="RtlHardcoded"
|
|
|
|
android:layout_weight="1">
|
2018-08-31 16:30:06 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/titleTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:fadingEdge="horizontal"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="15sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
tools:ignore="RtlHardcoded"
|
|
|
|
tools:text="The Video Title LONG very LONG"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/channelTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:fadingEdge="horizontal"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
tools:text="The Video Artist LONG very LONG very Long"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/qualityTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="35dp"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:padding="6dp"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:gravity="center"
|
|
|
|
android:minWidth="50dp"
|
|
|
|
android:text="720p"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:visibility="visible"
|
2018-08-31 16:30:06 +02:00
|
|
|
tools:ignore="HardcodedText,RtlHardcoded"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/playbackSpeed"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:padding="6dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:gravity="center"
|
|
|
|
android:minHeight="35dp"
|
|
|
|
android:minWidth="40dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry"
|
2019-12-29 22:15:01 +01:00
|
|
|
tools:text="1x"/>
|
2018-08-31 16:30:06 +02:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/queueButton"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="35dp"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:padding="6dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:scaleType="fitXY"
|
2018-12-14 18:51:55 +01:00
|
|
|
android:src="@drawable/ic_list_white_24dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2019-12-29 22:15:01 +01:00
|
|
|
tools:ignore="ContentDescription,RtlHardcoded"
|
|
|
|
android:visibility="gone"/>
|
2018-08-31 16:30:06 +02:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/moreOptionsButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:padding="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/ic_expand_more_white_24dp"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
tools:ignore="ContentDescription,RtlHardcoded"/>
|
|
|
|
|
2019-12-29 22:15:01 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2018-08-31 16:30:06 +02:00
|
|
|
android:id="@+id/secondaryControls"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="top"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:paddingStart="16dp"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:paddingEnd="6dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:visibility="invisible"
|
|
|
|
tools:ignore="RtlHardcoded"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/resizeTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="35dp"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:padding="6dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:gravity="center"
|
|
|
|
android:minWidth="50dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
tools:ignore="HardcodedText,RtlHardcoded"
|
|
|
|
tools:text="FIT"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/captionTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:padding="6dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:gravity="center|left"
|
|
|
|
android:minHeight="35dp"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:minWidth="50dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
tools:ignore="RelativeOverlap,RtlHardcoded"
|
2019-12-29 22:15:01 +01:00
|
|
|
tools:text="English"/>
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:id="@+id/spaceBeforeButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="3"/>
|
2018-08-31 16:30:06 +02:00
|
|
|
|
|
|
|
<ImageButton
|
2019-12-29 22:15:01 +01:00
|
|
|
android:id="@+id/playWithKodi"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:scaleType="fitXY"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:src="@drawable/ic_channel_white_24dp"
|
2019-04-06 20:21:32 +02:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:contentDescription="@string/play_with_kodi_title"
|
2019-04-06 20:21:32 +02:00
|
|
|
tools:ignore="RtlHardcoded"/>
|
|
|
|
|
|
|
|
<ImageButton
|
2019-12-29 22:15:01 +01:00
|
|
|
android:id="@+id/openInBrowser"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2019-04-06 20:21:32 +02:00
|
|
|
android:clickable="true"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:focusable="true"
|
|
|
|
android:scaleType="fitXY"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:src="@drawable/ic_language_white_24dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:contentDescription="@string/open_in_browser"
|
2018-08-31 16:30:06 +02:00
|
|
|
tools:ignore="RtlHardcoded"/>
|
|
|
|
|
|
|
|
<ImageButton
|
2019-12-29 22:15:01 +01:00
|
|
|
android:id="@+id/share"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:scaleType="fitXY"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:src="@drawable/ic_share_white_24dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:contentDescription="@string/share"
|
2018-08-31 16:30:06 +02:00
|
|
|
tools:ignore="RtlHardcoded"/>
|
|
|
|
|
2019-12-29 22:15:01 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2018-08-31 16:30:06 +02:00
|
|
|
<ImageButton
|
2019-12-29 22:15:01 +01:00
|
|
|
android:id="@+id/fullScreenButton"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingTop="8dp"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:background="@drawable/player_top_controls_bg"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:src="@drawable/ic_fullscreen_white"
|
|
|
|
tools:ignore="ContentDescription,RtlHardcoded"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"/>
|
2018-08-31 16:30:06 +02:00
|
|
|
|
2020-01-03 06:05:31 +01:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:background="@drawable/player_controls_bg"
|
|
|
|
android:layout_alignParentBottom="true" />
|
|
|
|
|
2018-08-31 16:30:06 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/bottomControls"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal"
|
2019-12-31 17:06:39 +01:00
|
|
|
android:paddingBottom="6dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/playbackCurrentTime"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:minHeight="30dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:text="-:--:--"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
tools:ignore="HardcodedText"
|
|
|
|
tools:text="1:06:29"/>
|
|
|
|
|
|
|
|
|
2019-10-04 14:59:08 +02:00
|
|
|
<androidx.appcompat.widget.AppCompatSeekBar
|
2018-08-31 16:30:06 +02:00
|
|
|
android:id="@+id/playbackSeekBar"
|
|
|
|
style="@style/Widget.AppCompat.SeekBar"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:paddingBottom="4dp"
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
tools:progress="25"
|
|
|
|
tools:secondaryProgress="50"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/playbackEndTime"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="-:--:--"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
tools:ignore="HardcodedText"
|
|
|
|
tools:text="1:23:49"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/playbackLiveSync"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingRight="4dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/duration_live_button"
|
|
|
|
android:textAllCaps="true"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:maxLength="4"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
tools:ignore="HardcodedText,RtlHardcoded,RtlSymmetry" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2019-12-29 22:15:01 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:weightSum="5.5">
|
|
|
|
<!--tools:visibility="gone">-->
|
|
|
|
|
2018-08-31 16:30:06 +02:00
|
|
|
<ImageButton
|
2019-12-29 22:15:01 +01:00
|
|
|
android:id="@+id/playPreviousButton"
|
|
|
|
android:layout_width="0dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:layout_height="100dp"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_marginEnd="30dp"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:src="@drawable/exo_controls_previous"
|
2018-08-31 16:30:06 +02:00
|
|
|
tools:ignore="ContentDescription"/>
|
|
|
|
|
2019-12-29 22:15:01 +01:00
|
|
|
|
2018-08-31 16:30:06 +02:00
|
|
|
<ImageButton
|
2019-12-29 22:15:01 +01:00
|
|
|
android:id="@+id/playPauseButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="100dp"
|
|
|
|
android:layout_weight="1"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:src="@drawable/ic_pause_white"
|
2018-08-31 16:30:06 +02:00
|
|
|
tools:ignore="ContentDescription"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/playNextButton"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="100dp"
|
|
|
|
android:layout_weight="1"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:layout_marginStart="30dp"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
2019-12-29 22:15:01 +01:00
|
|
|
android:scaleType="fitCenter"
|
2018-08-31 16:30:06 +02:00
|
|
|
android:src="@drawable/exo_controls_next"
|
|
|
|
tools:ignore="ContentDescription"/>
|
|
|
|
|
2019-12-29 22:15:01 +01:00
|
|
|
</LinearLayout>
|
2018-12-27 15:29:17 +01:00
|
|
|
|
2018-08-31 16:30:06 +02:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/controlAnimationView"
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="100dp"
|
|
|
|
android:background="@drawable/background_oval_black_transparent"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:src="@drawable/ic_action_av_fast_rewind"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/loading_panel"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@android:color/black"
|
|
|
|
tools:visibility="gone">
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progressBarLoadingPanel"
|
|
|
|
style="?android:attr/progressBarStyleLargeInverse"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:indeterminate="true"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/volumeRelativeLayout"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:background="@drawable/background_oval_black_transparent"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/volumeProgressBar"
|
|
|
|
style="?android:progressBarStyleHorizontal"
|
|
|
|
android:layout_width="128dp"
|
|
|
|
android:layout_height="128dp"
|
|
|
|
android:indeterminate="false"
|
|
|
|
android:progressDrawable="@drawable/progress_circular_white" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/volumeImageView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:src="@drawable/ic_volume_up_white_72dp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/brightnessRelativeLayout"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:background="@drawable/background_oval_black_transparent"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/brightnessProgressBar"
|
|
|
|
style="?android:progressBarStyleHorizontal"
|
|
|
|
android:layout_width="128dp"
|
|
|
|
android:layout_height="128dp"
|
|
|
|
android:indeterminate="false"
|
|
|
|
android:progressDrawable="@drawable/progress_circular_white" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/brightnessImageView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:src="@drawable/ic_brightness_high_white_72dp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/currentDisplaySeek"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_marginBottom="58dp"
|
|
|
|
android:background="#64000000"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingLeft="30dp"
|
|
|
|
android:paddingRight="30dp"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="26sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:ignore="RtlHardcoded"
|
|
|
|
tools:text="1:06:29"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2019-12-29 22:15:01 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/resizing_indicator"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left|top"
|
|
|
|
android:background="#6e000000"
|
|
|
|
android:gravity="center"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:text="@string/popup_resizing_indicator_title"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="18sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:ignore="RtlHardcoded"
|
|
|
|
tools:visibility="gone" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/closingOverlay"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="#AAFF0000"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/closeButton"
|
|
|
|
style="@style/Widget.AppCompat.Button.Borderless"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:text="@string/close"
|
|
|
|
android:textAllCaps="true"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
2018-08-31 16:30:06 +02:00
|
|
|
</RelativeLayout>
|