I want to change the style of my TimePicker but I can't get to change the color of the clock face and the header background. Here's my XML style code -
<style name="DateTimeDialog" parent="Theme.AppCompat.Dialog">
<item name="android:colorBackground">@color/colorWhite</item>
<item name="android:textColorPrimary">#000000</item>
<item name="android:headerBackground">#000000</item>
<item name="android:textColorSecondary">#000000</item>
<item name="android:button">@color/colorWhite</item>
<item name="android:colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="android:colorAccent">@color/colorSecondary</item>
<item name="android:textColor">@color/colorSecondaryDark</item>
</style>
The primary color is navy blue, and the accent/secondary color is light blue (just in case you want to picture it). Here is how it looks currently -
Current Style
I want to be able to change that Grey background.
NOTE: The 'android:background' attribute doesn't work here. It only changes the color of a tiny area behind the ":" in the time displayed in the header. Any help/resources appreciated. Thanks!