https://github.com/syntaxerror247/godot-android-system-bar-color-changer
Godot android plugin to change system bar colors
https://github.com/syntaxerror247/godot-android-system-bar-color-changer
Last synced: 13 days ago
JSON representation
Godot android plugin to change system bar colors
- Host: GitHub
- URL: https://github.com/syntaxerror247/godot-android-system-bar-color-changer
- Owner: syntaxerror247
- License: mit
- Created: 2024-09-12T12:51:00.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-19T18:37:02.000Z (about 1 month ago)
- Last Synced: 2025-04-13T04:52:03.724Z (13 days ago)
- Language: GDScript
- Homepage: https://godotengine.org/asset-library/asset/3342
- Size: 106 KB
- Stars: 24
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- trackawesomelist - System Bar Color Changer (⭐16) - An Android plugin that enables you to dynamically change the colors of the status bar and navigation bar, and also supports enabling translucent system bars for a modern, immersive UI experience. (Recently Updated / [Nov 28, 2024](/content/2024/11/28/README.md))
README
![]()
# Android System Bar Color Changer [](https://github.com/sponsors/syntaxerror247)
This Plugin enables to dynamically change the system bar colors (status bar and navigation bar) of your godot android app.
## Installation
Steps:
- download latest release from Github [releases](https://github.com/syntaxerror247/godot-android-system-bar-color-changer/releases).
- unzip the release archive.
- copy addon to your Godot project's root directory.
- enable the plugin via the `Plugins` tab of `Project->Project Settings...` menu, in the Godot Editor.## How to use
1. Make the system bar visible
- Disable `immersive_mode` in the Android export settings, **or**
- Use [`window_set_mode`](https://docs.godotengine.org/en/stable/classes/class_displayserver.html#class-displayserver-method-window-set-mode) to toggle it at runtime.3. 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)
```---
## Demo Project
***You can try this plugin using demo project: [Demo Project](demo)***https://github.com/user-attachments/assets/7e87834b-de21-4dec-9b8a-60a2d0b95beb
## Credits
**Developed By: Anish [syntaxerror247](https://github.com/syntaxerror247)**