Answers for "android:windowLightStatusBar programmatically"

0

android:windowLightStatusBar programmatically

if (on) {
    View view = getWindow().getDecorView();
    view.setSystemUiVisibility(view.getSystemUiVisibility() | View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
} else {
    View view = getWindow().getDecorView();
    view.setSystemUiVisibility(view.getSystemUiVisibility() & ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
}
Posted by: Guest on September-23-2020

Code answers related to "android:windowLightStatusBar programmatically"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language