Customize Statusbar - Android
<p>I am creating an application with some Activities. I want to change the status bar color and status bar icon colors which should look like the following image. </p>

<p><a href="https://i.stack.imgur.com/Bx1qe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Bx1qe.png" alt="enter image description here"></a>. </p>

<p>Is it possible to change? I am able to change the background color using the following code.</p>

<pre><code>if (android.os.Build.VERSION.SDK_INT &gt;= 21)
{
    Window w = getWindow(); // in Activity's onCreate() for instance
    w.setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
    w.setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS, WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
    w.setStatusBarColor(getResources().getColor(R.color.white_background_text));
}
</code></pre>

<p>Above code is working fine. Now <strong>I want to change the Wi-Fi icon, network icon, battery and time. Is it possible to do?</strong></p>