LAMW - no status bar n full transparent form trick lazarus / 43-Android ---------------------------------------------------------------------- Mongkey · 2022-09-30 01:59 Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i  styles.xml        @android:color/transparent      true        true        true  app.java on create{      transparentStatusAndNavigation();    }     private void transparentStatusAndNavigation() {        //make full transparent statusBar        if (android.os.Build.VERSION.SDK_INT >= 19 && android.os.Build.VERSION.SDK_INT < 21) {            setWindowFlag(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS                  | WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, true);        }        if (android.os.Build.VERSION.SDK_INT >= 19) {          getWindow().getDecorView().setSys]"]>BlockediVisibility(                  View.SYSTEM_UI_FLAG_LAYOUT_STABLE                          | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN                          | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION            );        }      if (android.os.Build.VERSION.SDK_INT >= 21) {            setWindowFlag(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS                  | WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, false);            getWindow().setStatusBarColor(Color.TRANSPARENT);          getWindow().setNavigationBarColor(Color.TRANSPARENT);        }    }     private void setWindowFlag(final int bits, boolean on) {      Window win = getWindow();        WindowManager.LayoutParams winParams = win.getAttributes();        if (on) {            winParams.flags |= bits;        } else {            winParams.flags &= ~bits;        }        win.setAttributes(winParams);    }