title: Change the Statusbar text color to black when the Statusbar background is white
body: <p>I have tried tried a few solutions given here but none seems to work for me. This is what I have in my colors.xml</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;resources&gt;
      &lt;color name=&quot;colorPrimary&quot;&gt;#fcfdfb&lt;/color&gt;
      &lt;color name=&quot;colorPrimaryDark&quot;&gt;#fff&lt;/color&gt;
      &lt;color name=&quot;colorPrimaryLight&quot;&gt;#333&lt;/color&gt;
      &lt;color name=&quot;colorPrimaryText&quot;&gt;#333&lt;/color&gt;
      &lt;color name=&quot;colorAccent&quot;&gt;#000000&lt;/color&gt;
      &lt;color name=&quot;white&quot;&gt;#ffffff&lt;/color&gt;
      &lt;color name=&quot;black&quot;&gt;#000000&lt;/color&gt;
  &lt;/resources&gt;
  </code></pre>
  <p>And this is what I have in styles.xml</p>
  <pre><code>&lt;resources xmlns:tools=&quot;http://schemas.android.com/tools&quot;&gt;
      &lt;style name=&quot;AppTheme&quot; parent=&quot;Theme.AppCompat.NoActionBar&quot;&gt;
      &lt;item name=&quot;colorPrimary&quot;&gt;@color/colorPrimary&lt;/item&gt;
      &lt;item name=&quot;colorPrimaryDark&quot;&gt;@color/colorPrimaryDark&lt;/item&gt;
      &lt;item name=&quot;colorAccent&quot;&gt;@color/colorAccent&lt;/item&gt;
      &lt;item name=&quot;android:windowBackground&quot;&gt;@drawable/background_splash&lt;/item&gt;
      &lt;item name=&quot;android:windowActionBar&quot;&gt;false&lt;/item&gt;
  &lt;/style&gt;
  &lt;style name=&quot;SplashTheme&quot; parent=&quot;Theme.AppCompat.NoActionBar&quot;&gt;
      &lt;item name=&quot;colorPrimary&quot;&gt;@color/colorPrimary&lt;/item&gt;
      &lt;item name=&quot;colorPrimaryDark&quot;&gt;@color/colorPrimaryDark&lt;/item&gt;
      &lt;item name=&quot;colorAccent&quot;&gt;@color/colorAccent&lt;/item&gt;
      &lt;item name=&quot;android:windowBackground&quot;&gt;@drawable/background_splash&lt;/item&gt;
      &lt;item name=&quot;android:windowActionBar&quot;&gt;false&lt;/item&gt;
  &lt;/style&gt;
  &lt;style name=&quot;ProDialogue&quot; parent=&quot;@android:style/Theme.Dialog&quot;&gt;
      &lt;item name=&quot;colorAccent&quot;&gt;@color/colorAccent&lt;/item&gt;
      &lt;item name=&quot;android:windowBackground&quot;&gt;@color/colorPrimary&lt;/item&gt;
      &lt;item name=&quot;android:textColor&quot;&gt;@color/black&lt;/item&gt;
  &lt;/style&gt;
  &lt;style name=&quot;TransparentToolbar&quot; parent=&quot;@style/ThemeOverlay.AppCompat.Dark.ActionBar&quot;&gt;
      &lt;item name=&quot;android:windowActionBarOverlay&quot;&gt;true&lt;/item&gt;
      &lt;item name=&quot;windowActionBarOverlay&quot;&gt;true&lt;/item&gt;
  &lt;/style&gt;
  &lt;style name=&quot;AppTheme.AppBarOverlay&quot; parent=&quot;ThemeOverlay.AppCompat.Dark.ActionBar&quot; /&gt;
  &lt;style name=&quot;AppTheme.PopupOverlay&quot; parent=&quot;ThemeOverlay.AppCompat.Light&quot; /&gt;
  </code></pre>
  
  <p>I just need the Statusbar text/icons to be black because I have the background as white to match the content. As a beginner, I am sure that I've messed it up somewhere but hopefully someone will guide me on this. Btw, my minSdkVersion is 21.</p>