getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); 值得说明的是只有level19+版本(Android4.4+)才支持