android - Full screen pull down disabling -


i'm developing full screen application it's possible user pull down status bar, , after, access wifi, bluetooth... features. have watched applications have complete full screen , don't allow pull down status bar. aproximation collapse solution allow user access these features. aproximation isn't valid me:

                   if (build.version.sdk_int > 16) {                         collapsestatusbar = statusbarmanager                                 .getmethod("collapsepanels");                     } else {                         collapsestatusbar = statusbarmanager                                 .getmethod("collapse");                     } 

check it

     this.requestwindowfeature(window.feature_no_title); // remove title bar      this.getwindow().setflags(windowmanager.layoutparams.flag_fullscreen,windowmanager.layoutparams.flag_fullscreen);// remove notification bar      setcontentview(r.layout.activity_home); 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -