StatusBarTools : An Extension to work with StatusBar [FREE]

1.Introduction

An Extension to change StatusBar Background Color, change Background to Transparent and set icon color on StatusBar to Dark or Light.

Latest Version: 1
Released: 2020-11-02T23:00:00Z
Last Updated: 2020-11-02T23:00:00Z

2.Blocks

blocks

3.Documentation

  • BG Transparent Color
    to change StatusBar Background to Transparent with Color

    hexColor ~ text
  • Icon Dark
    to change Icon Color on StatusBar to Dark
    component_method (3)
  • Icon Light
    to change Icon Color on StatusBar to Light
    component_method (4)

4.Screenshots

Screenshot1

Screenshot2

Screenshot3

Screenshot4

Screenshot5

Screenshot6

5.Download

com.SalmanDev.StatusBarTools.aix (7.4 KB)

6.Credits

Thank you to My Best Teacher @mohamed_tamer for teaching me so many things. :heart_eyes: :kissing_heart:
Thank you to My Best Friend @vknow360 for helping me. :kissing_heart:
And Also Thanks to @WaterMelonIceGaming And @KUMARASWAMY_B.G for helping me too. :kissing_heart:

And Thanks a lot to MIT :heart:

11 Likes

Great job :+1::+1: Congratulations :partying_face:
Btw, what is the min. API of the extension? Any permissions needed?

2 Likes

Thank you :kissing_heart:

Min API 23 (Marshmallow) or higher

There is no need Permission

1 Like

thank you for your contribution!

in App Inventor usually we use color blocks for colors instead of hex values…
Unbenannt
please change that in your logic, so the extension is compatible with the built-in color blocks, thank you

see also this discussion

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

2 Likes

If I remember correctly, Light Status Bar works on api 23+

2 Likes

Thank you very much for the suggestion @Taifun, actually I want to make it as you say, but I don't know why I really like hex color and I think hex color is not too complicated like RGB,
and actually I don't know how to use the App Inventor RGB code in my extension.
So can you give me a simple code that can use RGB App inventor?

Yes you are right, StatusBar Light And Dark Icons are working on API 23+
sorry I forgot about that :sweat_smile:

it doesn't really matter what you prefer personally...
App Inventor already uses the color blocks... this was a design descision some years ago by the App Inventor team... everybody is used to work with the color blocks... and to be compatible with the color blocks therefore is the way to go...

just look at the App Inventor sources... you will find examples how to do the conversion...
and if you have questions, start a new thread in the #open-source-development category
thank you

Taifun

1 Like

probably this thread can help
https://groups.google.com/g/mitappinventortest/c/i_5h0Qua-Q0/m/HYVpsPFYBAAJ
see also the links there...
Taifun

2 Likes

Thank you very much for your support @Taifun, next time I will use the MIT AI2 RGB in my newest extension.