[FREE] FullScreen Extension V1 & V2

Introduce: full screen extension

Made from = Niotorn ide
Extension name = FullScreen
Work on = android 5 lollipop to android 14 (Api 34) or higher
Tested on = android 14 and 12

An extension that hides ui like status and navigation bar

Document blocks :

The blocks :

1
HideUI)
Hides the Status bar and navigation bar
Like this

2
component_method (1)
Shows the status bar like this

Extension :
FullScreen.aix (4.7 KB)
Aia test :
FullScreen.aia (5.5 KB)
Java txt if needed :

import android.app.Activity;
import android.os.Build; 
import android.view.View;


@SimpleFunction(description = "")
public void HideUI() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP){
    activity.getWindow().getDecorView().setSystemUiVisibility(
        View.SYSTEM_UI_FLAG_FULLSCREEN |
        View.SYSTEM_UI_FLAG_HIDE_NAVIGATION |
        View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);
                                             }
}


@SimpleFunction(description = "")
public void ShowUI() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP){
    activity.getWindow().getDecorView().setSystemUiVisibility(
        View.SYSTEM_UI_FLAG_VISIBLE);
                                              }
}

Note : Having problem with the code? Tell me so i can update the extension again.

Have a good day :+1:.

5 Likes

[FREE] Fullscreener extension [V2]

Introduce = Fullscreener extension

Made from = niotron ide
Name of the extension = Fullscreener
Tested on android 14 only

Its more like TIMAI2 hideBars extension, but I added more feature!

Block documents :
blocks (5)

component_method (1)

Hides the UI and show camera cutout like this

component_method (2)

Shows the UI , but unfortunately, it will not go back to normal, which means, it will transparent the UI
If you want to change the colors, try to use my extension named ToolUI, by simply naming the input of the ToolUI extension to black or any color you like

Extension =
Fullscreener.aix (5.8 KB)
Java txt =

@SimpleFunction(description = "")
Public void HideUI(){
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_DISPLAY_CUTOUT_MODE_SHORT_EDGES;
activity.getWindow().setAttributes(params);

activity.getWindow().getDecorView().setSystemUiVisibility(
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN |
View.SYSTEM_UI_FLAG_FULLSCREEN |
View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY |
View.SYSTEM_UI_FLAG_LAYOUT_STABLE |
View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);
                     }
      }



@SimpleFunction(description = "")
public void ShowUI(){
If (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P){
activity.getWindow().getDecorView().setSystemUiVisibility(
View.SYSTEM_UI_FLAG_VIEW);
               }
       }

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

Have a good day.

2 Likes

Fullscreener update

updation of the extensions

Fullscreener (works on android 5 to 15 or higher).aix (5.8 KB)

Fullscreen update

updation of the extension

Hasn't updated yet...

Fullscreener problem (update version)

In both companion and compiled, HideUI works, but if you then ask for ShowUI with companion, the titlebar is merged with the status bar, but no navigation bar shows, and when compiled visually nothing happens (edit - I can just see the navigation buttons in white, and it is possible to swipe the status bar down). I guess your screen background colour has to be anything but white. This on Android 15.

Didn't test any previous versions of the extension.

Maybe try to use this extension

And then do this block

Its because i updated the extension with updated version, making it android 15 to 5, i didn't update the ShowUI. Maybe i will update it in a few days.

Try to use the ToolUI extension and do this block