更新到版本 27.1.0 后,我的应用程序中的弹出窗口有一个灰色的通知栏。在更新之前,它们只是蓝色的,就像所有其他通知栏一样。更新后我的代码没有改变任何东西。这是一个已知问题吗?
最佳答案
我也遇到了同样的问题,我在 styles v21 中使用了它,现在工作正常
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">?attr/colorPrimary</item>
</style>
关于Android 设计支持库 27.1.0 颜色通知栏灰色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49031632/