I need to use immersive mode in my project, so I put this in my AdroidLauncher.java:
config.useImmersiveMode = true;
But I still have a black bar on top of the screen (as on screenshots below). How can I make the app draw there too?
screenshot1, navigation turned off
screenshot2, navigation turned on
I run the app on API 30 (Android 11), libGDX version is 1.11.0.