[Solved] How do I render on my entire screen?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: 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?

yanb | 2020-11-06 14:39

I want to stretch the game to the area

stan.wick.52 | 2020-11-09 13:02

:bust_in_silhouette: Reply From: stan.wick.52

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

stan.wick.52 | 2021-02-22 00:12