mContext.getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
mContext.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
mContext.getWindow().getDecorView().requestLayout();
隱藏的setContentView後的狀態欄。 狀態欄是隱藏的,但我的視圖不會到頂部。有一個黑色矩形
而不是狀態欄。
什麼是你的測試設備? – vokilam 2013-03-01 10:03:00