Dim jo As JavaObject = Activity
jo.RunMethod("setSystemUiVisibility", Array As Object(5894)) '--> status bar area becomes 100% black, non-visible
jo = jo.RunMethod("getResources", Null)
Dim ResourceID As Int = jo.RunMethod("getIdentifier", Array As Object("status_bar_height", "dimen", "android"))
Dim StatusBarHeight As Int = jo.RunMethod("getDimensionPixelSize", Array As Object(ResourceID))
In this code, StatusBarHeight is > 0, and if I try to draw a "full screen rectangle" on Activity, it doesn't draw over what should be the hidden status bar. Therefore my screen is not 100% full screen.
No, I think he means that he manages to hide/not display the StatusBar but the pixels it should occupy remain unusable, ie 100%y is the same both with and without the StatusBar.
Yes, that is like a notch camera.
Take a look at this Immersive with Notch
I had the same problem.
Unluckily I was unable to get the Status Bar as screen not even with this.
Sure it's my fault.
But at least I was able to detect the correct size and avoid to have the bottom cutted.