Hey LL community!

Hey LL community!

Does anyone have a script to hide the navbar?

]]>

11 Commentsto Hey LL community!

  1. Anonymous says:

    < ![CDATA[

    i think it’s doable, but you should first try to do it from a PC if you have access and tools

    ]]>

  2. Anonymous says:

    < ![CDATA[

    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);

    ]]>

  3. Anonymous says:

    < ![CDATA[

    you should try to also add the immersive flag if you want the bars to keep hiding even after they become visible

    ]]>

  4. Anonymous says:

    < ![CDATA[

    aye but from the sound of it he only wants to hide the navbar not the status.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Is there any way to get ’em to hide as the app opens? I’m finding myself having to hit the home button again to hide them



    Edit: I also put is on Home and Load

    ]]>

  6. Anonymous says:

    < ![CDATA[

    you could try adding the Immersive flag he^ suggested

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Yeah I did with the same result

    ]]>

  8. Anonymous says:

    < ![CDATA[

    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|View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;


    decorView.setSystemUiVisibility(uiOptions);

    ]]>

  9. Anonymous says:

    < ![CDATA[

    did you try the sticky flag

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Yeah tried both. Do you think adding a delay would help?

    ]]>

  11. Anonymous says:

    < ![CDATA[

    might do could always try it I gotta get sum kip let me know if it worked.

    ]]>

Leave a Reply

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