Hey LL community!

Hey LL community!

Does anyone have a script to hide the navbar?

3 Commentsto Hey LL community!

  1. Jay M says:

    bindClass(“android.view.Window”);

    bindClass(“android.view.View”);

    var decorView = LL.getContext().getWindow().getDecorView();

    // Hide both the navigation bar and the status bar.

    // SYSTEM_UI_FLAG_FULLSCREEN is only available on Android 4.1 and higher, but as

    // a general rule, you should design your app to hide the status bar whenever you

    // hide the navigation bar.

    var uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION

                  | View.SYSTEM_UI_FLAG_FULLSCREEN;

    decorView.setSystemUiVisibility(uiOptions);

  2. Jade Cheung says:

    Hi 👋,

    Is this to do with ADB or just using lightning?

    Thanks.

  3. Jay M says:

    just using Lightning

Leave a Reply

Your email address will not be published. Required fields are marked *