Code example for FrameLayout

Methods: setSystemUiVisibility

0
 
        @TargetApi(11) 
        @SuppressWarnings("deprecation") 
        private void showUI() { 
            if (Build.VERSION.SDK_INT >= 14)
                mCustomViewContainer.setSystemUiVisibility(View.SYSTEM_UI_FLAG_VISIBLE);
            else 
                mCustomViewContainer.setSystemUiVisibility(View.STATUS_BAR_VISIBLE);
        } 
 
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java