At least on my smartphone (Huawei - Android 8), the source code published here to "set the immersive mode" is not always enough; rotating the device (changing the activity orientation), sometimes (33% of cases?) the navigation bar remain visible.
The code worked perfectly in Debug mode, so I tried and...
the problem seems to be solved by adding Sleep(150) as first line in Activity_Create.
The code worked perfectly in Debug mode, so I tried and...
the problem seems to be solved by adding Sleep(150) as first line in Activity_Create.