系统栏已经做过处理,但是在启动APP时系统栏还是会有一瞬间是蓝色的。解决起来很简单,在res/values/style中,把下面代码
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
中的@color/colorPrimaryDark
改成 @color/white
或者其他颜色都可以