[Android] Decrease the video touch safety size

Nicolas Pomepuy git at videolan.org
Tue Feb 25 06:33:50 UTC 2025


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Feb 20 09:36:07 2025 +0100| [cab84e9716773db2fa7c5bd0c6073075c165ace6] | committer: Nicolas Pomepuy

Decrease the video touch safety size

> https://code.videolan.org/videolan/vlc-android/commit/cab84e9716773db2fa7c5bd0c6073075c165ace6
---

 .../vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt
index 8356201fd3..230c226fbb 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt
@@ -112,7 +112,7 @@ class VideoTouchDelegate(private val player: VideoPlayerActivity,
     private val seekRewindSecond: ImageView by lazy { player.findViewById(R.id.seekRewindSecond) }
     private val seekContainer: ConstraintLayout by lazy { player.findViewById(R.id.seekContainer) }
     private val seekBackground: FrameLayout by lazy { player.findViewById(R.id.seek_background) }
-    private val gestureSafetyMargin = 48.dp.toFloat()
+    private val gestureSafetyMargin = 24.dp.toFloat()
 
     companion object {
         private const val TAG = "VLC/VideoTouchDelegate"



More information about the Android mailing list