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.
]]>
< ![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.
]]>
< ![CDATA[
👍
]]>
< ![CDATA[
Arun kumar I will try !
]]>
< ![CDATA[
Pierre Hébert thanks so much!
]]>
< ![CDATA[
Whoo, you are damn fast to reply ! 🙂
]]>
< ![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);
}
]]>