aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-05-09 22:59:31 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-05-09 22:59:31 +0000
commit3f6842f27ac8bd406647c58c0cc640779b1bb15e (patch)
treed6ed528cd2f04311ae501b85346de7956fbfcba5 /app/src/main/res
parent019970d5fefd19cf6860de039634762542e9b49b (diff)
downloadinfinity-for-reddit-3f6842f27ac8bd406647c58c0cc640779b1bb15e.tar
infinity-for-reddit-3f6842f27ac8bd406647c58c0cc640779b1bb15e.tar.gz
infinity-for-reddit-3f6842f27ac8bd406647c58c0cc640779b1bb15e.tar.bz2
infinity-for-reddit-3f6842f27ac8bd406647c58c0cc640779b1bb15e.tar.lz
infinity-for-reddit-3f6842f27ac8bd406647c58c0cc640779b1bb15e.tar.xz
infinity-for-reddit-3f6842f27ac8bd406647c58c0cc640779b1bb15e.tar.zst
infinity-for-reddit-3f6842f27ac8bd406647c58c0cc640779b1bb15e.zip
Fix play button not shown in ViewVideoActivity when pinch to zoom video is enabled.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_view_video_zoomable.xml3
-rw-r--r--app/src/main/res/layout/exo_playback_control_view.xml6
2 files changed, 4 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_view_video_zoomable.xml b/app/src/main/res/layout/activity_view_video_zoomable.xml
index ea2ff8eb..c561ed82 100644
--- a/app/src/main/res/layout/activity_view_video_zoomable.xml
+++ b/app/src/main/res/layout/activity_view_video_zoomable.xml
@@ -34,8 +34,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
- app:controller_layout_id="@layout/exo_playback_control_view"
- app:show_timeout="1500" />
+ app:controller_layout_id="@layout/exo_playback_control_view" />
<ProgressBar
android:id="@+id/progress_bar_view_video_activity"
diff --git a/app/src/main/res/layout/exo_playback_control_view.xml b/app/src/main/res/layout/exo_playback_control_view.xml
index 5bcbb41f..47ef6ff1 100644
--- a/app/src/main/res/layout/exo_playback_control_view.xml
+++ b/app/src/main/res/layout/exo_playback_control_view.xml
@@ -55,14 +55,14 @@
app:backgroundTint="#444141"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/exo_play"
+ app:layout_constraintEnd_toStartOf="@+id/exo_play_pause"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintHorizontal_chainStyle="packed"
style="?attr/materialIconButtonOutlinedStyle" />
<com.google.android.material.button.MaterialButton
- android:id="@id/exo_play"
+ android:id="@+id/exo_play_pause"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:strokeWidth="0dp"
@@ -90,7 +90,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toEndOf="@+id/exo_play"
+ app:layout_constraintStart_toEndOf="@+id/exo_play_pause"
style="?attr/materialIconButtonOutlinedStyle" />
<com.google.android.material.button.MaterialButton