Hide navigation bar on Android?

Almost finished on an Android port, but I can’t get the navigation bar to disappear when testing on my Pixel XL. Is there and SDL way to do that, or do I need to hack the java Activity or Android manifest XML?

If you are using a fairly recent version of SDL just create the window with a fullscreen flag set (or fullscreen desktop) and it should hide the navigation bar.

I say should because at some point there were some issues with this and I’m not sure what the current situation is.