mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-08 09:09:48 +00:00
Merge branch 'fullscreen-glitch-fix' into 'master'
Fullscreen UI Glitch Fix See merge request videostreaming/grayjay!101
This commit is contained in:
commit
5e480be8db
1 changed files with 2 additions and 0 deletions
|
@ -2430,6 +2430,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;
|
||||
|
@ -2443,6 +2444,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