(under investigation) [Free] AdvStatusBarTools: Advance Status bar Tools Extension

:open_book: Introduction :

Advanced Status & Navigation Bar customization, including visibility control, color/gradient styling, icon theme switching, transparency, immersive mode, and measurement support.
Compatible with hex colors and built-in color blocks.

Author: AppGineerSahil - Sahil Shelke
Category: Extension | Free & Open Source .

Latest Version: 1
Released: 16-08-2025

:puzzle_piece: Blocks & Features :

  • Show / Hide / Toggle StatusBar & NavigationBar
  • SetColor (Hex / Color Block) for both bars
  • Set Icons to Dark / Light (status & navigation)
  • Transparent, Gradient, Pulse Effects
  • Enable Immersive Sticky Mode
  • GetBar Heights (status, nav, combined)
  • Event: SystemThemeChanged (Dark/Light mode)

:blue_book: Block Documentation :

:small_blue_diamond: Overview :

The AdvStatusBarTools extension provides advanced customization for Android Status Bar and Navigation Bar inside MIT App Inventor, Kodular, and similar platforms.
It allows developers to control visibility, colors (solid, hex, gradients), icon themes, transparency, immersive modes, and more.

:large_orange_diamond: Events :

  1. SystemThemeChanged


    Triggered when the system switches between dark and light mode.
    Parameter: isDarkMode (true if dark mode is enabled).

  2. VisibilityChanged
    image
    Triggered whenever the visibility of the Status Bar or Navigation Bar changes.

:purple_square: Functions :

  1. EnableImmersiveStickyMode
    image
    Enables immersive full-screen mode with swipe-to-show bars.

  2. ShowStatusBar / HideStatusBar / ToggleStatusBar


    Show, hide, or toggle the visibility of the status bar.

  3. ShowNavigationBar / HideNavigationBar / ToggleNavigationBar


    Show, hide, or toggle the navigation bar.

  4. SetStatusBarColorHex (hex)
    image
    Sets the status bar color using a hex string.
    Example: "#FF0000" for red.

  5. SetStatusBarColor (color block)
    image
    Sets the status bar color using App Inventor color blocks.

  6. SetNavigationBarColorHex / SetNavigationBarColor


    Same as above, but for the navigation bar.

  7. SetStatusBarIconsDark / SetStatusBarIconsLight
    image
    Switch status bar icons between dark and light mode.

  8. SetNavigationBarIconsDark / SetNavigationBarIconsLight
    image
    Switch navigation bar icons between dark and light.

  9. MakeStatusBarTransparent / MakeNavigationBarTransparent
    image
    Make the respective bars fully transparent.

  10. SetStatusBarGradient / SetStatusBarGradientHex


    Apply a gradient effect on the status bar with color blocks or hex codes.

  • Parameters: startColor, endColor, angle (0–7)
  1. SetNavigationBarGradient / SetNavigationBarGradientHex
  • Parameters: startColor, endColor, angle (0–7)
  1. PulseStatusBar / PulseStatusBarHex
    image
    Applies a temporary glowing effect on the status bar.
  • Parameters: color, durationMs
  1. ResetStatusBarColor / ResetNavigationBarColor
    image
    Resets the bar colors back to the original values.

  2. GetStatusBarHeight / GetNavigationBarHeight / GetCombinedBarHeight


    Returns the pixel height of bars.

:green_square: Properties :


Returns true/false depending on current visibility.
Returns true/false.
Returns true if system dark mode is enabled.
Returns the last set color values.

:inbox_tray: Downloads :

:link: AIX :
AdvStatusBarTools_V1.aix (14.8 KB)

:raising_hands: Credits & Support :

Here

Thanks to you as a contributor and my new tester!
Special thanks to the App Inventor / Kodular Community :heart:

:gear: Android API & Permissions :

Here
  • Compatible with Android API 21+ (Lollipop and higher)
  • Icon color control:
    • Status bar → Android M+ (API 23)
    • Navigation bar → Android O+ (API 26)
  • Permissions: android.permission.WRITE_SECURE_SETTINGS (optional; required for certain OEM customizations)

:light_bulb: Usage Tips :

Here
  • Use GetStatusBarHeight to add top padding when using transparent bars.
  • Reapply style blocks inside Screen.Initialize for consistent behavior.
  • OEMs may override icon color changes → always test on real devices.

:pushpin: License :

Here

This project is released as Free & Open Source .
Feel free to use, modify, and contribute!

If you like this, hit the like button! If you have any suggestions, please don’t forget to leave a comment or PM me.

2 Likes

You forgot to publish the source code.

Wow :flushed_face::astonished_face::flushed_face: You dropped it in needed time

Awesome bro, let me try it

First of all, thank you for creating this useful extension. I tested it and it works well on Android 14 and below, but unfortunately it does not work on Android 15 devices. The status bar and navigation bar colors are not applying there, even when using hex codes or gradient options.

Could you please update the extension to support Android 15? Maybe the implementation needs to use the latest WindowInsetsController and Window.setDecorFitsSystemWindows() APIs introduced in Android 11+ and modified further in Android 15. That way, the extension will remain compatible across all Android versions.

It would be very helpful if you could add support for:

Status/Navigation bar color changes on Android 15

Dark/Light icon control with the new API

Backward compatibility for Android 10–14

Thanks in advance for your work and support!

Thank you for your valuable reply. I have just built it for testing purposes and am currently working on it. Once it’s done, I will publish the source code.

Thanks a lot for your feedback. I’ll review it and release the next version shortly with these features.

Thank you! Please try it out and let me know your feedback to help me improve.

You might publish it now, so we can send PR or suggest you where we found issues.

1 Like

Thank you for your wonderful plugin contribution. Please share a video showing the plugin’s features. This will thoroughly demonstrate the plugin.

1 Like

on android 10, 11 and 12, does not get full space of navigation bar. It show only white space. On android 15, status bar color does not work. I have no android 13 and 14.

Please tell me how much you take time for update

Hey @pkdev585 please try to be patient. This will not be done overnight. They will announce when they fix it. They have their own bug list based on priority.

Thread unlisted meanwhile until extension also works in sdk 35

Taifun

1 Like