Skip to content

Commit

Permalink
Fix dark status bar icons not working on >= Oreo
Browse files Browse the repository at this point in the history
Signed-off-by: enricocid <enrico2588@gmail.com>
  • Loading branch information
enricocid committed Sep 29, 2018
1 parent 1658640 commit 1ff34b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions project/app/src/main/res/values-v27/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<item name="theme_icon">@drawable/ic_invert_theme</item>
<item name="android:navigationBarColor">@color/light</item>
<item name="android:windowLightNavigationBar">true</item>
<item name="android:windowLightStatusBar">true</item>
<item name="android:alertDialogTheme">@style/AlertDialogStyle</item>
</style>

Expand All @@ -19,6 +20,7 @@
<item name="android:windowBackground">@color/black</item>
<item name="android:navigationBarColor">@color/inverted</item>
<item name="android:windowLightNavigationBar">false</item>
<item name="android:windowLightStatusBar">true</item>
<item name="android:alertDialogTheme">@style/AlertDialogStyle</item>
</style>
</resources>

0 comments on commit 1ff34b1

Please sign in to comment.