mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-12 02:59:53 +00:00
By setting video information section to visibility gone when going fullscreen Changelog: changed
This commit is contained in:
parent
daa91986ef
commit
e3800426c9
1 changed files with 2 additions and 0 deletions
|
@ -2413,6 +2413,7 @@ class VideoDetailView : ConstraintLayout {
|
|||
Logger.i(TAG, "handleFullScreen(fullscreen=$fullscreen)")
|
||||
|
||||
if(fullscreen) {
|
||||
_container_content.visibility = GONE
|
||||
_layoutPlayerContainer.setPadding(0, 0, 0, 0);
|
||||
|
||||
val lp = _container_content.layoutParams as LayoutParams;
|
||||
|
@ -2426,6 +2427,7 @@ class VideoDetailView : ConstraintLayout {
|
|||
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 LayoutParams;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue