How can I change the color of the text circled in the below screenshot?
I played around with the style.xml but have not yet found any property that impacts this parts.

CodePudding user response:
Add the following code into style.xml in android project.
Create a new style which defines the color on Timepicker.
<style name="Theme.picker" parent="Theme.AppCompat.Light.Dialog"> //background color <item name="android:background">#13216a</item> //Title background color <item name="colorAccent">#f8a519</item> //text color <item name="android:textColor">#FF0000</item> //number text color <item name="android:textColorPrimary">#FF66FF</item> </style>Apply the style in
MainTheme.<item name="android:timePickerDialogTheme">@style/Theme.picker</item>


