android禁止下拉状态栏

cameraFrameLayout = (FrameLayout) findViewById(R.id.camera_root);
        cameraFrameLayout.setSystemUiVisibility(View.SYSTEM_UI_FLAG_IMMERSIVE_GESTURE_ISOLATED);

你可能感兴趣的:(android,状态栏)