File tree Expand file tree Collapse file tree
java/com/github/libretube/ui/views Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -331,11 +331,6 @@ class CustomExoPlayerView(
331331 if (isLive) player?.let { it.seekTo(it.duration) }
332332 }
333333
334- // forward touch events to the time bar for better accessibility
335- binding.progressBar.setOnTouchListener { _, motionEvent ->
336- binding.exoProgress.onTouchEvent(motionEvent)
337- }
338-
339334 updateCurrentPosition()
340335
341336 activity.supportFragmentManager.setFragmentResultListener(
@@ -1171,8 +1166,8 @@ class CustomExoPlayerView(
11711166 */
11721167 fun updateMarginsByFullscreenMode () {
11731168 // add a larger bottom margin to the time bar in landscape mode
1174- binding.progressBar .updateLayoutParams<MarginLayoutParams > {
1175- bottomMargin = (if (isFullscreen()) 20f else 10f ).dpToPx()
1169+ binding.exoProgress .updateLayoutParams<MarginLayoutParams > {
1170+ bottomMargin = (if (isFullscreen()) 20f else 0f ).dpToPx()
11761171 }
11771172
11781173 updateTopBarMargin()
Original file line number Diff line number Diff line change 323323 app : played_color =" ?attr/colorSecondary"
324324 app : scrubber_color =" ?attr/colorSecondary"
325325 app : scrubber_dragged_size =" 16dp"
326- app : scrubber_enabled_size =" 12dp" />
326+ app : scrubber_enabled_size =" 12dp"
327+ app : touch_target_height =" 35dp" />
327328
328329 </LinearLayout >
329330
You can’t perform that action at this time.
0 commit comments