Skip to content
Snippets Groups Projects
Commit a965003a authored by Koen J's avatar Koen J
Browse files

Fix gray line in video player. Thank you @michael-oberpriller

parent 9ea26c82
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment