+1 vote

In my android project, I have enabled full screen and immersive mode, yet it does not render content in the notch area, its just filled with a black bar. This breaks the immersion of the game.
How can I render content in the display cutout?
Any help is greatly appreciated.

in Engine by (50 points)
edited by

What do you need to render in the black area? Is it a constant texture, just a custom color or you need to stretch and squish the game?

I want to stretch the game to the area

1 Answer

+1 vote

I found the answer.
I had to use a custom build, make a res/values folder inside the Android build folder. Then I created a style in the values folder.
I then edited the Android manifest to make use of the style.
Then my game was able to render in the notch area. As they say, screen space is precious, don't waste any of it.

by (50 points)

Good day, sir. Can you share with us the link for the tutorial on how you solved the problem? Thank you

There was no tutorial.
I fixed it myself after reading about notches and display cutouts

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.