Android Status Bar / Fullscreen on devices with notch (SOLVED)

If immersive mode is not enabled then it still shows the black bar where the notification bar is and the navigation bar at the bottom.

With Immersive mode enabled still the black notification bar but no navigation bar.

I see that notch support was added in the AndroidManifest.xml in Defold Release 1.2.160 but it still does not detect it on my Samsung Galaxy A10.

Are you sure you don’t use “Hide front camera” option on your phone?

1 Like

The “Hide front camera” is disabled but still there is a black bar when I open the game. Like I said when I play other games it goes fullscreen with no black bar and around the notch.

I investigated this question a bit and I afraid we don’t have this functionality in the engine right now. But this issue might be solved by creating of native extension or connecting style.xml file to the app.

More info here:

1 Like

How would I go about extending the AndroidManifest’s style.xml? Where is this file located?

Should I create new directory in my project like: /res/values/styles.xml and then in my game project set Include Bundle Resources to /res?

@totebo Could you please check these APKs? (1.9 MB) (5.7 MB)


Same as the other games.

It works! Filling the whole screen with brilliant white. I want it! Where can I get it?

A post was merged into an existing topic: Is it possible to do fullscreen on devices like the Nexus 9? (DEF-1129) (SOLVED)

I’ve got immersive mode ticked and for some reason the whole screen is not used on a OnePlus Android phone. I noticed the same is true for Blossom Blast:

But other games, like this one (awesome game, by the way), use the full space:

Maybe there is an additional full screen option that’s been added since immersive mode?

Hmm, yes, maybe. @AGulev are you familiar with this?

Hmmm, do you use default AndroidManifest.xml ?
What is the exact model name?


OnePlus 6T.

Unfortunately, I can’t reproduce this issue on the phones I have.
But I have a few ideas, I’ll try to build a few APK with different possible fixes and ask you to test on your side.
(It seems like the same issue Android Status Bar )

1 Like

How does this look on your device? I use builtin for Android too now.

1 Like

Looks good! But it does get cut off (left edge).

Looking at the AndroidManifest.xml, maybe there is something obviously different in the games which are different. The Holedown one you linked seems to be a Unity game.

Could try experimenting adding some lines from and see if anything makes a difference too. Maybe the supports-screens tags matters?

<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />

I wonder what this does?

Both of these might not actually matter though. :slight_smile:

Great! Here is a temporary(?) solution: (6.1 KB)

  1. Download this (fake)NE and put it into your project folder
    2.1 If you use default AndroidManifest.xml then replace it in game.project with manifest from the folder.
    2.2 If you have custom AndroidManifest.xml then find this line

in activity block, and replace with


I’ll talk with @britzl and maybe we implement this or another solution in the engine.

A few links with useful materials:


Great! Let’s talk on Slack and open a ticket.


Solved in 1.2.170

1 Like