[FREE] FullScreen Extension

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:.

3 Likes