Hide Android Status Bar in Monogame Shared Project

When I build my android version of a shared monogame project, I can’t hide the status bar at the top of the screen. I’ve tried using themes (theme.notitlebar works but isn’t full screen; theme.notitlebar.fullscreen is fullscreen but still shows the status bar on top), tried modifying the activity code (request feature notitle, addflags for full screen, etc.), but I can’t get it to work - anytime it is full screen I can’t get rid of the status bar.

Any suggestions/help on how to hide the status bar and have the app fullscreen would be greatly appreciated.

Thanks!

Set graphics.IsFullScreen = true in your Game constructor, where graphics is the GraphicsDeviceManager instance.

    public Game1()  
    {
        graphics = new GraphicsDeviceManager(this);
        Content.RootDirectory = "Content";
        
        graphics.IsFullScreen = true;
1 Like

Brilliant! Thank you so much!