Sazid Sazid - 1 year ago 119
Android Question

How to change the status bar notification icons' color/tint in android (marshmallow and above 23+)?

As the title says, how do I change the status bar icons' color to have a dark tint instead of the default white.


enter image description here


dark status bar

Answer Source

For the status bar icons' to have a dark tint instead of the default white, add the following tag in your styles.xml (or more precisely in values-v23/styles.xml) file:

<item name="android:windowLightStatusBar">true</item>

You can also change the flag at runtime by setting it to any View:

View yourView = findViewById(;

    if (yourView != null) {

If you want to reset the changes, clear the flag like this:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download