mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
Fix gray line in video player. Thank you @michael-oberpriller
This commit is contained in:
@@ -602,6 +602,7 @@ class FutoVideoPlayer : FutoVideoPlayerBase {
|
||||
val lp = background.layoutParams as ConstraintLayout.LayoutParams;
|
||||
lp.bottomMargin = 0;
|
||||
background.layoutParams = lp;
|
||||
_videoView.setBackgroundColor(Color.parseColor("#FF000000"))
|
||||
|
||||
gestureControl.hideControls();
|
||||
//videoControlsBar.visibility = View.GONE;
|
||||
@@ -615,6 +616,7 @@ class FutoVideoPlayer : FutoVideoPlayerBase {
|
||||
val lp = background.layoutParams as ConstraintLayout.LayoutParams;
|
||||
lp.bottomMargin = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 6.0f, Resources.getSystem().displayMetrics).toInt();
|
||||
background.layoutParams = lp;
|
||||
_videoView.setBackgroundColor(Color.parseColor("#00000000"))
|
||||
|
||||
gestureControl.hideControls();
|
||||
//videoControlsBar.visibility = View.VISIBLE;
|
||||
|
||||
Reference in New Issue
Block a user