getWindow().setStatusBarColor(0xff56ced4 );//改变状态栏的颜色 getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);//改变字体颜色