[FREE] ToolUI extension

Introduce ToolUI extension

An extension that controls bars like status and navigation bar

Made from : niotron ide
Works on : android 5 to android 15 or higher
Tested on : android 14 and 12

Block document
blocks (8)

First block

An block that changes the color of the status or navigation

Unsupported colors

  • orange
  • pink

Input = any color but not as a number, for example
Red
Blue
Green
Yellow
And others

SowEveeyrhin

Shows all the bars even if its transparent or else
But unfortunately, it doesent set the color bars to default

Tr

Hides navigation and transparent status bar

Hide

Hides the navigation bar only

component_method (5)

Hides the status bar and navigation bar

component_method (6)
Transparent the navigation bar

component_method (7)

Transparent the status bar

component_method (8)

Removes a notch

But when you trigger it, nothing will happen, you just need to landscape your phone then the notch of the side of the screen app, will be removed and if you even portirate your phone, the notch will still be removed but both the status and navigation is transparented

Extension file =
ToolUIl.aix (6.5 KB)
Test file =
coming soon....
Java txt =

Until someone asks for the java txt

For the remove notch block
@SimpleFunction(description = "")
Public void RemoveNotch(){
If (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P){

activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);

WindowManager.LayoutParams params = activity.getWindow().getAttributes();
params.layoutInDisplayCutoutMode = WindowManager.LayoutParams.LAYOUT_IN_DISPLAT_CUTOUT_MODE_SHORT_EDGES;

activity.getWindow().setAttributes(params);
                     }
              }
      }

Note : having a problem with the extension, tell me so i can fix the extension again

Have a good day. :+1:

5 Likes