mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-05-04 00:24:26 +02:00
Merge branch 'master' of gitlab.futo.org:videostreaming/grayjay
This commit is contained in:
commit
da27517fcf
@ -602,6 +602,7 @@ class FutoVideoPlayer : FutoVideoPlayerBase {
|
|||||||
val lp = background.layoutParams as ConstraintLayout.LayoutParams;
|
val lp = background.layoutParams as ConstraintLayout.LayoutParams;
|
||||||
lp.bottomMargin = 0;
|
lp.bottomMargin = 0;
|
||||||
background.layoutParams = lp;
|
background.layoutParams = lp;
|
||||||
|
_videoView.setBackgroundColor(Color.parseColor("#FF000000"))
|
||||||
|
|
||||||
gestureControl.hideControls();
|
gestureControl.hideControls();
|
||||||
//videoControlsBar.visibility = View.GONE;
|
//videoControlsBar.visibility = View.GONE;
|
||||||
@ -615,6 +616,7 @@ class FutoVideoPlayer : FutoVideoPlayerBase {
|
|||||||
val lp = background.layoutParams as ConstraintLayout.LayoutParams;
|
val lp = background.layoutParams as ConstraintLayout.LayoutParams;
|
||||||
lp.bottomMargin = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 6.0f, Resources.getSystem().displayMetrics).toInt();
|
lp.bottomMargin = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 6.0f, Resources.getSystem().displayMetrics).toInt();
|
||||||
background.layoutParams = lp;
|
background.layoutParams = lp;
|
||||||
|
_videoView.setBackgroundColor(Color.parseColor("#00000000"))
|
||||||
|
|
||||||
gestureControl.hideControls();
|
gestureControl.hideControls();
|
||||||
//videoControlsBar.visibility = View.VISIBLE;
|
//videoControlsBar.visibility = View.VISIBLE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user