I’m on Nougat, set a desktop as lockscreen—can I hide the navbar on this lockscreen?

I’m on Nougat, set a desktop as lockscreen—can I hide the navbar on this lockscreen? In the desktop settings I can only choose to have the statusbar hidden, for navbar only the tint etc…

]]>

6 Commentsto I’m on Nougat, set a desktop as lockscreen—can I hide the navbar on this lockscreen?

  1. Anonymous says:

    < ![CDATA[

    no might be possible with script though

    ]]>

  2. Anonymous says:

    < ![CDATA[

    LL.bindClass(“android.view.Window“);


    LL.bindClass(“android.view.View“);



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



    var uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;


    decorView.setSystemUiVisibility(uiOptions);



    return decorView;

    ]]>

  3. Anonymous says:

    < ![CDATA[

    set this in the resume event of the desktop

    ]]>

  4. Anonymous says:

    < ![CDATA[

    It does work indeed! Thank you very much.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    TrianguloY​ needs a thumbs up he originally wrote how to do this ages ago, it was to hide both bars though IIRC. I just remembered some of his code and checked out the Android dev docs for how to write the rest 😊

    ]]>

  6. Anonymous says:

    < ![CDATA[

    // hides both bars



    LL.bindClass(“android.view.Window“);


    LL.bindClass(“android.view.View“);



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



    var uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION|View.SYSTEM_UI_FLAG_FULLSCREEN;


    decorView.setSystemUiVisibility(uiOptions);



    return decorView;

    ]]>

Leave a Reply

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