aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-08-04 09:29:49 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-08-04 09:29:49 +0000
commit51f6a9613f748006fb987feacfb6c41d348ccc25 (patch)
treea76e6f9d9644ef2841ef9df3bad261cdd4abd110 /app
parentd0341f9be1ccf349181b89d2af0f3cbfb8d9c3fd (diff)
downloadinfinity-for-reddit-51f6a9613f748006fb987feacfb6c41d348ccc25.tar
infinity-for-reddit-51f6a9613f748006fb987feacfb6c41d348ccc25.tar.gz
infinity-for-reddit-51f6a9613f748006fb987feacfb6c41d348ccc25.tar.bz2
infinity-for-reddit-51f6a9613f748006fb987feacfb6c41d348ccc25.tar.lz
infinity-for-reddit-51f6a9613f748006fb987feacfb6c41d348ccc25.tar.xz
infinity-for-reddit-51f6a9613f748006fb987feacfb6c41d348ccc25.tar.zst
infinity-for-reddit-51f6a9613f748006fb987feacfb6c41d348ccc25.zip
Tweak autoplay control.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/exo_autoplay_playback_control_view.xml51
1 files changed, 29 insertions, 22 deletions
diff --git a/app/src/main/res/layout/exo_autoplay_playback_control_view.xml b/app/src/main/res/layout/exo_autoplay_playback_control_view.xml
index 50fa5421..e08fce18 100644
--- a/app/src/main/res/layout/exo_autoplay_playback_control_view.xml
+++ b/app/src/main/res/layout/exo_autoplay_playback_control_view.xml
@@ -22,7 +22,9 @@
android:visibility="gone"
tools:visibility="visible"
app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintEnd_toStartOf="@id/fullscreen_exo_playback_control_view" />
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintEnd_toStartOf="@id/frame_layout" />
<ImageView
android:id="@+id/fullscreen_exo_playback_control_view"
@@ -35,35 +37,40 @@
android:clickable="true"
android:focusable="true"
app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintEnd_toEndOf="parent" />
-
- <ImageView android:id="@id/exo_play"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="16dp"
- android:layout_centerInParent="true"
- android:src="@drawable/ic_play_arrow_white_rounded_24dp"
- android:background="?actionBarItemBackground"
- android:clickable="true"
- android:focusable="true"
- app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintStart_toEndOf="@id/frame_layout"
app:layout_constraintEnd_toEndOf="parent" />
- <ImageView android:id="@id/exo_pause"
+ <FrameLayout
+ android:id="@+id/frame_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:padding="16dp"
- android:layout_centerInParent="true"
- android:src="@drawable/ic_pause_white_rounded_24dp"
- android:background="?actionBarItemBackground"
- android:clickable="true"
- android:focusable="true"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent" />
+ app:layout_constraintEnd_toEndOf="parent">
+
+ <ImageView android:id="@id/exo_play"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="16dp"
+ android:layout_centerInParent="true"
+ android:src="@drawable/ic_play_arrow_white_rounded_24dp"
+ android:background="?actionBarItemBackground"
+ android:clickable="true"
+ android:focusable="true" />
+
+ <ImageView android:id="@id/exo_pause"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="16dp"
+ android:layout_centerInParent="true"
+ android:src="@drawable/ic_pause_white_rounded_24dp"
+ android:background="?actionBarItemBackground"
+ android:clickable="true"
+ android:focusable="true" />
+
+ </FrameLayout>
<TextView
android:id="@id/exo_position"