mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-09-09 02:56:18 +00:00
fix merge
Changelog: changed
This commit is contained in:
parent
11d4ec383e
commit
53f2be2b4c
1 changed files with 0 additions and 6 deletions
|
@ -2730,9 +2730,6 @@ class VideoDetailView(fragment: VideoDetailFragment, inflater: LayoutInflater) :
|
|||
Logger.i(TAG, "handleFullScreen(fullscreen=$fullscreen)")
|
||||
|
||||
if(fullscreen) {
|
||||
_container_content.visibility = GONE
|
||||
_layoutPlayerContainer.setPadding(0, 0, 0, 0);
|
||||
|
||||
val lp = _container_content.layoutParams as ConstraintLayout.LayoutParams;
|
||||
lp.topMargin = 0;
|
||||
_container_content.layoutParams = lp;
|
||||
|
@ -2744,9 +2741,6 @@ class VideoDetailView(fragment: VideoDetailFragment, inflater: LayoutInflater) :
|
|||
setProgressBarOverlayed(null);
|
||||
}
|
||||
else {
|
||||
_container_content.visibility = VISIBLE
|
||||
_layoutPlayerContainer.setPadding(0, 0, 0, TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 6.0f, Resources.getSystem().displayMetrics).toInt());
|
||||
|
||||
val lp = _container_content.layoutParams as ConstraintLayout.LayoutParams;
|
||||
lp.topMargin = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, -18.0f, Resources.getSystem().displayMetrics).toInt();
|
||||
_container_content.layoutParams = lp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue