Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Design Support Library 27.1.0 colors notificationbar grey

After updating to version 27.1.0, the pop-ups in my app have a grey notificationbar. Before the update, they were just blue, like all the other notificationbars. I haven't changed a thing in my code after updating. Is this a known issue?

enter image description here

like image 563
Albert-Jan Avatar asked Feb 28 '18 14:02

Albert-Jan


1 Answers

I also encountered same problem and I used this in styles v21 and it works fine now

<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>
like image 188
Usama Anwar Avatar answered Nov 11 '22 05:11

Usama Anwar