2017-03-27 06:08:16 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-08-29 02:38:37 +02:00
|
|
|
<RelativeLayout
|
2017-03-09 05:44:00 +01:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-03-27 06:08:16 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-03-09 05:44:00 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-10-13 05:47:12 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:background="@android:color/black"
|
2017-05-14 05:32:28 +02:00
|
|
|
android:gravity="center">
|
2017-03-09 05:44:00 +01:00
|
|
|
|
2017-03-27 06:08:16 +02:00
|
|
|
<com.google.android.exoplayer2.ui.AspectRatioFrameLayout
|
|
|
|
android:id="@+id/aspectRatioLayout"
|
2017-03-09 05:44:00 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:layout_height="match_parent"
|
2017-09-03 04:30:34 +02:00
|
|
|
android:layout_centerInParent="true"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:layout_gravity="center">
|
2017-03-09 05:44:00 +01:00
|
|
|
|
2017-03-27 06:08:16 +02:00
|
|
|
<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>
|
|
|
|
|
2018-02-03 23:39:03 +01:00
|
|
|
<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"/>
|
2017-03-27 06:08:16 +02:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/endScreen"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:scaleType="centerInside"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:background="@android:color/white"
|
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
2017-10-13 05:47:12 +02:00
|
|
|
<RelativeLayout
|
2017-10-23 03:58:01 +02:00
|
|
|
android:id="@+id/playQueuePanel"
|
2017-10-13 05:47:12 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone"
|
2017-10-31 04:58:02 +01:00
|
|
|
android:background="?attr/queue_background_color"
|
2017-10-13 05:47:12 +02:00
|
|
|
tools:visibility="visible">
|
|
|
|
|
2017-10-23 03:58:01 +02:00
|
|
|
<RelativeLayout
|
2017-10-13 05:47:12 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="60dp"
|
2017-10-23 03:58:01 +02:00
|
|
|
android:id="@+id/playQueueControl">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/playQueueClose"
|
2017-10-25 06:47:14 +02:00
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
2017-10-23 03:58:01 +02:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_marginRight="40dp"
|
|
|
|
android:layout_marginEnd="40dp"
|
2017-10-25 06:47:14 +02:00
|
|
|
android:padding="10dp"
|
2017-10-23 03:58:01 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:scaleType="fitXY"
|
2017-10-31 04:58:02 +01:00
|
|
|
android:tint="?attr/colorAccent"
|
2017-10-23 03:58:01 +02:00
|
|
|
android:src="@drawable/ic_close_white_24dp"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
tools:ignore="ContentDescription"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/repeatButton"
|
2017-10-25 06:47:14 +02:00
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
2017-10-23 03:58:01 +02:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_marginLeft="40dp"
|
|
|
|
android:layout_marginStart="40dp"
|
2017-10-25 06:47:14 +02:00
|
|
|
android:padding="10dp"
|
2017-10-23 03:58:01 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:scaleType="fitXY"
|
2017-10-31 04:58:02 +01:00
|
|
|
android:tint="?attr/colorAccent"
|
2017-10-23 03:58:01 +02:00
|
|
|
android:src="@drawable/exo_controls_repeat_off"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
tools:ignore="ContentDescription,RtlHardcoded"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/shuffleButton"
|
2017-10-25 06:47:14 +02:00
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
2017-10-23 03:58:01 +02:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_toRightOf="@id/repeatButton"
|
2017-10-25 06:47:14 +02:00
|
|
|
android:padding="10dp"
|
2017-10-23 03:58:01 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:scaleType="fitXY"
|
2017-10-31 04:58:02 +01:00
|
|
|
android:tint="?attr/colorAccent"
|
2017-10-23 03:58:01 +02:00
|
|
|
android:src="@drawable/ic_shuffle_white_24dp"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
tools:ignore="ContentDescription,RtlHardcoded"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2017-10-13 05:47:12 +02:00
|
|
|
|
|
|
|
<android.support.v7.widget.RecyclerView
|
2017-10-23 03:58:01 +02:00
|
|
|
android:id="@+id/playQueue"
|
2017-10-13 05:47:12 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-10-23 03:58:01 +02:00
|
|
|
android:layout_below="@id/playQueueControl"
|
2017-10-13 05:47:12 +02:00
|
|
|
android:scrollbars="vertical"
|
|
|
|
app:layoutManager="LinearLayoutManager"
|
|
|
|
tools:listitem="@layout/play_queue_item"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2017-03-27 06:08:16 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/playbackControlRoot"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="#64000000"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
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"
|
|
|
|
android:gravity="top"
|
|
|
|
android:paddingTop="10dp"
|
2018-02-07 00:07:49 +01:00
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:paddingRight="5dp"
|
2017-03-27 06:08:16 +02:00
|
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
|
|
|
|
<LinearLayout
|
2018-02-03 23:39:03 +01:00
|
|
|
android:id="@+id/metadataView"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_toLeftOf="@+id/qualityTextView"
|
|
|
|
android:gravity="top"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingRight="8dp"
|
|
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/titleTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-10-28 21:57:09 +02:00
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:fadingEdge="horizontal"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:singleLine="true"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="15sp"
|
|
|
|
android:textStyle="bold"
|
2017-10-28 21:57:09 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2017-03-27 06:08:16 +02:00
|
|
|
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"
|
2017-10-28 21:57:09 +02:00
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:fadingEdge="horizontal"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:singleLine="true"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="12sp"
|
2017-10-28 21:57:09 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2017-03-27 06:08:16 +02:00
|
|
|
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"
|
2017-03-27 15:12:22 +02:00
|
|
|
android:layout_marginLeft="2dp"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:layout_marginRight="2dp"
|
2017-06-26 04:41:52 +02:00
|
|
|
android:layout_toLeftOf="@+id/playbackSpeed"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:gravity="center"
|
|
|
|
android:minWidth="50dp"
|
|
|
|
android:text="720p"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textStyle="bold"
|
2018-02-07 00:07:49 +01:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2017-03-27 06:08:16 +02:00
|
|
|
tools:ignore="HardcodedText,RtlHardcoded"/>
|
|
|
|
|
2017-06-26 04:41:52 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/playbackSpeed"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="2dp"
|
2017-11-09 11:29:02 +01:00
|
|
|
android:layout_toLeftOf="@+id/queueButton"
|
2017-06-26 04:41:52 +02:00
|
|
|
android:gravity="center"
|
|
|
|
android:minHeight="35dp"
|
|
|
|
android:minWidth="40dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textStyle="bold"
|
2018-02-07 00:07:49 +01:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2017-06-26 04:41:52 +02:00
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry"
|
|
|
|
tools:text="1x" />
|
|
|
|
|
2017-10-13 05:47:12 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/queueButton"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:layout_marginLeft="2dp"
|
|
|
|
android:layout_marginRight="2dp"
|
2017-11-09 11:29:02 +01:00
|
|
|
android:layout_toLeftOf="@+id/moreOptionsButton"
|
2017-10-13 05:47:12 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/list"
|
2018-02-07 00:07:49 +01:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2017-10-13 05:47:12 +02:00
|
|
|
tools:ignore="ContentDescription,RtlHardcoded"/>
|
|
|
|
|
2017-03-27 06:08:16 +02:00
|
|
|
<ImageButton
|
2017-11-09 11:29:02 +01:00
|
|
|
android:id="@+id/moreOptionsButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:layout_alignParentRight="true"
|
2017-11-09 11:29:02 +01:00
|
|
|
android:layout_marginLeft="2dp"
|
|
|
|
android:padding="5dp"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:clickable="true"
|
2017-10-13 05:47:12 +02:00
|
|
|
android:focusable="true"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:scaleType="fitXY"
|
2018-02-07 00:07:49 +01:00
|
|
|
android:src="@drawable/ic_expand_more_white_24dp"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
2017-03-27 06:08:16 +02:00
|
|
|
tools:ignore="ContentDescription,RtlHardcoded"/>
|
2018-02-07 00:07:49 +01:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/secondaryControls"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/topControls"
|
|
|
|
android:gravity="top"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:paddingRight="5dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:ignore="RtlHardcoded"
|
|
|
|
tools:visibility="visible">
|
2017-03-27 06:08:16 +02:00
|
|
|
|
2018-02-03 23:39:03 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/resizeTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:minWidth="50dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textStyle="bold"
|
2018-02-07 00:07:49 +01:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2018-02-03 23:39:03 +01:00
|
|
|
tools:ignore="HardcodedText,RtlHardcoded"
|
|
|
|
tools:text="FIT"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/captionTextView"
|
2018-02-07 22:11:19 +01:00
|
|
|
android:layout_width="wrap_content"
|
2018-02-03 23:39:03 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
2018-02-07 22:11:19 +01:00
|
|
|
android:layout_toLeftOf="@id/switchBackground"
|
2018-02-03 23:39:03 +01:00
|
|
|
android:layout_toRightOf="@id/resizeTextView"
|
2018-02-07 22:11:19 +01:00
|
|
|
android:gravity="center|left"
|
2018-02-03 23:39:03 +01:00
|
|
|
android:minHeight="35dp"
|
|
|
|
android:minWidth="40dp"
|
|
|
|
android:paddingLeft="2dp"
|
|
|
|
android:paddingRight="2dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textStyle="bold"
|
2018-02-07 00:07:49 +01:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2018-02-07 22:11:19 +01:00
|
|
|
tools:ignore="RelativeOverlap,RtlHardcoded"
|
2018-02-03 23:39:03 +01:00
|
|
|
tools:text="English" />
|
2018-02-07 00:07:49 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/toggleOrientation"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_marginLeft="2dp"
|
|
|
|
android:layout_marginRight="2dp"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/ic_screen_rotation_white"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:contentDescription="@string/toggle_orientation"
|
|
|
|
tools:ignore="RtlHardcoded"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/switchPopup"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_marginLeft="2dp"
|
|
|
|
android:layout_marginRight="2dp"
|
|
|
|
android:layout_toLeftOf="@id/toggleOrientation"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/ic_fullscreen_exit_white"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:contentDescription="@string/switch_to_popup"
|
|
|
|
tools:ignore="RtlHardcoded"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/switchBackground"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_marginLeft="2dp"
|
|
|
|
android:layout_marginRight="2dp"
|
|
|
|
android:layout_toLeftOf="@id/switchPopup"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/ic_headset_white_24dp"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:contentDescription="@string/switch_to_background"
|
|
|
|
tools:ignore="RtlHardcoded"/>
|
2017-03-27 06:08:16 +02:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/bottomControls"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:background="@drawable/player_controls_bg"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/playbackCurrentTime"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:minHeight="40dp"
|
|
|
|
android:text="-:--:--"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
tools:ignore="HardcodedText"
|
|
|
|
tools:text="1:06:29"/>
|
|
|
|
|
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatSeekBar
|
|
|
|
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"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/playPauseButton"
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="100dp"
|
|
|
|
android:layout_centerInParent="true"
|
2017-10-25 06:47:14 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/ic_pause_white"
|
|
|
|
tools:ignore="ContentDescription"/>
|
|
|
|
|
2017-10-22 21:43:49 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/playPreviousButton"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_marginRight="30dp"
|
|
|
|
android:layout_marginEnd="30dp"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_toLeftOf="@id/playPauseButton"
|
|
|
|
android:layout_toStartOf="@id/playPauseButton"
|
2017-10-25 06:47:14 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
2017-10-22 21:43:49 +02:00
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/exo_controls_previous"
|
|
|
|
tools:ignore="ContentDescription"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/playNextButton"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_marginLeft="30dp"
|
|
|
|
android:layout_marginStart="30dp"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_toRightOf="@id/playPauseButton"
|
|
|
|
android:layout_toEndOf="@id/playPauseButton"
|
2017-10-25 06:47:14 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
2017-10-22 21:43:49 +02:00
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/exo_controls_next"
|
|
|
|
tools:ignore="ContentDescription"/>
|
|
|
|
|
2017-03-27 06:08:16 +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:src="@drawable/ic_action_av_fast_rewind"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
2017-04-26 21:24:33 +02:00
|
|
|
android:id="@+id/loading_panel"
|
2017-03-27 06:08:16 +02:00
|
|
|
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"
|
2018-02-07 00:07:49 +01:00
|
|
|
android:layout_alignParentTop="true"
|
2017-03-27 06:08:16 +02:00
|
|
|
android:layout_gravity="center"
|
2018-02-07 00:07:49 +01:00
|
|
|
android:layout_toEndOf="@+id/loading_panel"
|
|
|
|
android:layout_toRightOf="@+id/loading_panel"
|
2017-03-27 06:08:16 +02:00
|
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/volumeTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:background="#64000000"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingLeft="30dp"
|
|
|
|
android:paddingRight="30dp"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="35sp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:ignore="RtlHardcoded"
|
|
|
|
tools:text="Volume 0"
|
2018-02-07 00:07:49 +01:00
|
|
|
tools:visibility="visible" />
|
2017-03-27 06:08:16 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/brightnessTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:background="#64000000"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingLeft="30dp"
|
|
|
|
android:paddingRight="30dp"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="35sp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:ignore="RtlHardcoded"
|
|
|
|
tools:text="Brightness 0"
|
2018-02-07 00:07:49 +01:00
|
|
|
tools:visibility="visible" />
|
2017-03-27 06:08:16 +02:00
|
|
|
|
|
|
|
<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"
|
2018-02-07 00:07:49 +01:00
|
|
|
tools:visibility="visible" />
|
2017-03-27 06:08:16 +02:00
|
|
|
</RelativeLayout>
|
|
|
|
|
2017-11-09 11:29:02 +01:00
|
|
|
</RelativeLayout>
|