How to hide the navigation bar?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Rabbids_krolb

Hi all,
I’m working on mobile application and I need to show Status bar all the time but hide the navigation bar. Mb someone know how can I do that?


<?xml version="1.0" encoding="utf-8"?>
<style name="GodotAppMainTheme" parent="@android:style/Theme.Black.NoTitleBar"/>

<style name="GodotAppSplashTheme" parent="@style/GodotAppMainTheme">
	<item name="android:windowBackground">@drawable/splash_drawable</item>
	<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>

Any ideas how to hide it?
I can hide both (status and navigation bars) by unlick “Immersive Mode”, but I need the status bar, so it does not help :frowning: Thank you.

Did you manage to find an answer?

pedroveras | 2022-10-07 16:49

I’ve found some workaround, but I dont rly remeber what I did. It was too late :frowning:

Rabbids_krolb | 2022-10-07 17:30