Android Question Immersive Mode Status Bar

iCAB

Well-Known Member
Licensed User
Longtime User
Hi There

I am using the code posted in here to hide the status & navigation bars. When the user opens another activity the status bar get displayed for a second or so then disappears. Is there a way to prevent this behavior from happening? Note that the second activity also contains the same code to support immersive mode.

Thanks
iCAB
 

iCAB

Well-Known Member
Licensed User
Longtime User
Hi Erel,
Thanks a lot for your help.

I tried the above on an android phone I am using for development and it works properly.
However when I tried on the "POS" (Custom Hardware) I am using for the final application it doesn't work all the time.

When checking, I realized that on the POS, under system settings there is an option to Show/Hide the Nav Bar. If show is selected, then the issue persists, otherwise no problem.
I am not sure if there is anything that I can do about it.

Thanks
iCAB
 
Upvote 0
Top