This Plugin enables to dynamically change the system bar colors (status bar and navigation bar) of your godot android app.
Steps:
- download latest release from Github releases.
- unzip the release archive.
- copy addon to your Godot project's root directory.
- enable the plugin via the
Plugins
tab ofProject->Project Settings...
menu, in the Godot Editor.
-
Make the system bar visible
- Disable
immersive_mode
in the Android export settings, or - Use
window_set_mode
to toggle it at runtime.
- Disable
-
Call the required methods anywhere in your project:
- To change status bar color
SystemBarColorChanger.set_status_bar_color(color)
- To change navigation bar color
SystemBarColorChanger.set_navigation_bar_color(color)
- To enable translucent system bars
SystemBarColorChanger.set_translucent_system_bars(true)
- To disable translucent system bars
SystemBarColorChanger.set_translucent_system_bars(false)
You can try this plugin using demo project: Demo Project
demopreview.mp4
Developed By: Anish syntaxerror247