我无法更改TimePicker选择器的颜色和其他部分。到目前为止,我可以更改标题颜色和背景,但是我无法更改内圆和文字颜色。
更改自定义主题,请参考链接。
我的代码:
<TimePicker
android:id="@+id/tp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:timePickerMode="clock"
android:headerBackground="#565466"
android:amPmBackgroundColor="#500126"
android:numbersBackgroundColor="#57e326"
android:numbersTextColor="#995394"
android:numbersSelectorColor="#675543"
android:textColorSecondary="#897530"
android:textColorPrimary="#359875"
/>