transparent bars lollipop

transparent bars lollipop

Strange things, but this seems to work.

Put this script to run in the load event of the desktop

LL.bindClass(“android.view.WindowManager”);

LL.getContext().getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);

And, in the miscellaneous settings of the desktop, uncheck the transparent bars. Yes, you read right, I wrote that you need to disable the transparent bars in the lightning settings. (This is because that setting set those translucent bars, and the script won’t work)

For me it works. If it don’t work for you…I already said those are strange things.

]]>
« (Previous Post)

6 Commentsto transparent bars lollipop

  1. Anonymous says:

    < ![CDATA[

    I thought to avoid script 😑. But thanks a lot.


    Pierre Hébert​ can we have an option to have transparent system bars by default? Nova launcher does that already. It would be a nice addition.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    👍

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Arun kumar I will try !

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Pierre Hébert​ thanks so much!

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Whoo, you are damn fast to reply ! 🙂

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Haha.. Charging/autosync on..


    If it’s off any help, I used this snippet to get transparent bars.



    if (isLollipop) {


    mWindow = this.getWindow();


    mWindow.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);


    mWindow.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);


    mWindow.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);


    mWindow.getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);


    mWindow.setStatusBarColor(Color.TRANSPARENT);


    mWindow.setNavigationBarColor(Color.TRANSPARENT);


    }

    ]]>

Leave a Reply

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