改变 TimePicker (RadialTimePickerView) 的颜色?

Change color of TimePicker (RadialTimePickerView)?

如何更改 TimePicker/RadialTimePickerView 的 number/picker-color?我可以看到,RadialTimePickerView 通过使用

设置其内部颜色
final int numbersTextColor = a.getColor(R.styleable.TimePicker_numbersTextColor,
            res.getColor(R.color.timepicker_default_text_color_material));

我尝试将 timepicker_default_text_color_material 项目添加到 colors.xml,但这没有成功。

黑色数字和蓝色选择器应该是白色的:

或多或少,正如 Saket 评论的那样,我需要附加我的 styles.xml:

<style name="myTimePickerStyle" parent="@android:style/Widget.Material.Light.TimePicker">
    <item name="android:numbersTextColor">#ffffff</item>
    <item name="android:numbersBackgroundColor">@color/timepicker_header</item>
    <item name="android:numbersSelectorColor">#88000000</item>
    <item name="android:headerBackground">@color/timepicker_header</item>
</style>

<style name="AppTheme" parent="AppBaseTheme">
    <item name="android:timePickerDialogTheme">@style/myTimePickerDialogStyle</item>
</style>