The color of the status bar does not change when android:statusBarColor or android:colorPrimaryDark is set.

According to the documentation, android:statusBarColor or android:colorPrimaryDark should change the color of the status bar on Android 5.0 devices. I have both of these properties set in a theme that inherits from android:Theme.Material.Light.DarkActionBar.

Below is the contents of my Styles.xml file in the values-v21 folder. The first 3 items change the colors as expected. But the last 2 seem to have no impact. I have not tried to change the Navigation Bar color, so I don't know if that works or not.

<resources>

  <style name="ItronMobileTheme" parent="android:Theme.Material.Light.DarkActionBar">
    <item name="android:colorPrimary">@color/ItronBlue</item>
    <item name="android:colorAccent">@color/ItronYellow</item>
    <item name="android:windowBackground">@color/White</item>
    <item name="android:colorPrimaryDark">@color/ItronBlueDark</item>
    <item name="android:statusBarColor">@color/ItronBlueDark</item>
  </style>

</resources>


Reference: https://bugzilla.xamarin.com/show_bug.cgi?id=26247