Barstool (Status & Navigation Bar Tool)

This is simple extension to change status and navigation bar as your need.
By using this extension you are able to :

  • Change status bar text color (1 for light / 2 for dark)
  • Change navigation bar icon color (1 for light / 2 for dark)
  • Make status bar fully transparent
  • Set status bar visibility (True / False)
  • Set navigation bar visibility (True / False)
  • Change color of status and navigation bar

com.xtiger.barstool

8 Likes

Very good!
Also great, that the extension accepts color blocks...

which environment are you using to develop the extension?

it would be more user friendly to add helper blocks for the mode (Light or Dark), see also Adding Helper Blocks to a Component and How to add a Dropdown Block to a Component

Taifun

2 Likes

Seems to use a different method for hiding the StatusBar than the one already provided in Screen Properties. One does not "undo" the other, and the behaviour, e.g. on "false" and swipe is different.

It also might be useful to provide some property blocks that indicate the state of each of the bars?

2 Likes

Made using rush.
Sure , i will try it.
if anyone needs source code download from here barstool - Google Drive

1 Like
  ## Newly Added Functions ##

Untitled

Download link updated in first post

3 Likes

I try to hide the navigation bar and at the same time to have a transparent status bar, but it does not do it.
When I hide the navigation bar, the status bar lose it's transparency. And when I make the statusbar transparent, the navigation bar becomes to be visible.

1 Like

Added , try this !

com.xtiger.barstool.aix (22.0 KB)

2 Likes

Why is it not working when testing the app using the built apk? It works well during testing in the companion but the status bar and navbar returns to default when installing the app via the apk.

try this

1 Like

I'm trying to set color for Status Bar Text and Navigation Bar Icon

It doesn't work

image

Test_Extension_Barstool.aia (24.0 KB)

I use:
Xiaomi Redmi Note 9S
Android 12
MIUI 14.0.1

What I see:

You may need to update your companion:

When asked, press the "Not now" button...

I don't use the Companion app :man_shrugging:
Screenshot is from built and installed APK

Maybe try the hidebars extension as linked above by this extension developer.

So using darkmode on white statusbar won't work

2 Likes

@Boban

Thanks a lot!
Your solution works!
I didn't get that lightMode in the extension means black text and icons