mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Fix gray line in video player. Thank you @michael-oberpriller
This commit is contained in:
parent
9ea26c821f
commit
a965003a9d
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue