Topic was automatically imported from the old Question2Answer platform.
Asked By
stan.wick.52
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.
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 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.
Good day, sir. Can you share with us the link for the tutorial on how you solved the problem? Thank you
Nielstupido | 2021-02-21 06:32
There was no tutorial.
I fixed it myself after reading about notches and display cutouts