Properly expose Immersive Mode on android #11011
Closed
syntaxerror247
started this conversation in
Platforms
Replies: 2 comments 2 replies
-
Let's go with the first approach! |
Beta Was this translation helpful? Give feedback.
0 replies
-
@m4gr3d Ok, so if we are going with first approach, then I would like to add a note in android export |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For a long time, I wasn't aware that Android had a runtime method to toggle immersive mode. It wasn't until a few days ago, when I started working on this proposal, that I discovered it could already be done using
window_set_mode
.I have two potential solutions now:
immersive mode
is activated when either WINDOW_MODE_EXCLUSIVE_FULLSCREEN or WINDOW_MODE_FULLSCREEN is set.DisplayServer
. We could keepwindow_set_mode
as it is and add a dedicatedtoggle_immersive_mode()
function for better clarity and control.Let me know which solution you think is better :)
Beta Was this translation helpful? Give feedback.
All reactions