How do I dim the system bar in Android 3.0 (Honeycomb)?
问题 How do I programatically dim the system bar in Android 3.0 (Honeycomb)? 回答1: Try using the following code: View v = findViewById(R.id.myview); v.setSystemUiVisibility(View.STATUS_BAR_HIDDEN); 回答2: you can dim it using SYSTEM_UI_FLAG_LOW_PROFILE but it will appear when user touch the bar. But you can disable it except home. add this in manifest. <uses-permission android:name="android.permission.EXPAND_STATUS_BAR"/> inside onCreate() this.requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow