What does SYSTEM_UI_FLAG_LAYOUT_STABLE and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN do

14,716

See http://developer.android.com/reference/android/view/Window.html#setStatusBarColor(int)

This is the same as setting the system bars to be translucent (content will continue under the status and navigation bars), except that it won't draw the status and nav bar for you.

Share:
14,716
user3684678
Author by

user3684678

Updated on June 15, 2022

Comments

  • user3684678
    user3684678 almost 2 years

    In simple words what does the below statement do when added to activity?

    getWindow().getDecorView().setSystemUiVisibility(
                    View.SYSTEM_UI_FLAG_LAYOUT_STABLE
                            | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);