Android Question change statusbar icons color

Mrphone

Member
hi :)

I changed the theme of the program using appcompat. My problem is that it has problems with bright themes. That is, the color of the icons on the bar is white and cannot be seen in bright themes.
I want to change the color of the status bar icons to black.

what should I do??

Manifest:
SetApplicationAttribute(android:theme, "@style/MyAppTheme")
CreateResource(values, theme.xml,
<resources>
    <style name="MyAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="colorPrimary">#fafafa</item>
        <item name="colorPrimaryDark">#fafafa</item>
        <item name="colorAccent">#c822ff</item>
        <item name="windowNoTitle">true</item>
        <item name="windowActionBar">false</item>
    </style>
</resources>
)
 
Top