Android 隐藏状态栏 和 标题栏


        this.getWindow().setFlags(
        WindowManager.LayoutParams.FLAG_FULLSCREEN,
        WindowManager.LayoutParams.FLAG_FULLSCREEN);
       
AutoFile.this.requestWindowFeature(Window.FEATURE_NO_TITLE);
       
setContentView(R.layout.main);

你可能感兴趣的:(android)