mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 08:40:03 +02:00
fix flags
This commit is contained in:
parent
a8f8f33a74
commit
f698b414a5
1 changed files with 2 additions and 3 deletions
|
@ -1713,10 +1713,9 @@ public class PeertubeActivity extends BasePeertubeActivity implements CommentLis
|
|||
binding.bottomVideo.setVisibility(View.VISIBLE);
|
||||
fullScreenIcon.setImageDrawable(ContextCompat.getDrawable(PeertubeActivity.this, R.drawable.ic_baseline_fullscreen_24));
|
||||
View decorView = getWindow().getDecorView();
|
||||
getWindow().setFlags(flags | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN,
|
||||
getWindow().setFlags(flags,
|
||||
WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN);
|
||||
decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE
|
||||
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
|
||||
decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
|
||||
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue