:隐藏状态栏和标题栏的方法

转载自: www.madhome.org
Java:

//for hide the status bar
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
               WindowManager.LayoutParams.FLAG_FULLSCREEN);
       
        //hide the title bar
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        requestWindowFeature(Window.FEATURE_PROGRESS);


转载自anddev.org

 

你可能感兴趣的:(方法)