From 39837030337b472b52ab1d85688472a69fe13e2f Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Wed, 3 May 2023 23:26:19 +0800 Subject: Do not render ZoomSurfaceView when pinch to to zoom video is disabled. --- app/src/main/res/layout/activity_view_video.xml | 16 ++----- .../res/layout/activity_view_video_zoomable.xml | 52 ++++++++++++++++++++++ 2 files changed, 55 insertions(+), 13 deletions(-) create mode 100644 app/src/main/res/layout/activity_view_video_zoomable.xml (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_view_video.xml b/app/src/main/res/layout/activity_view_video.xml index cd98291d..ff60ca5f 100644 --- a/app/src/main/res/layout/activity_view_video.xml +++ b/app/src/main/res/layout/activity_view_video.xml @@ -22,21 +22,11 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - - - + app:controller_layout_id="@layout/exo_playback_control_view"/> + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3