Android : Where is the TimePicker parent style located?

on Wednesday, September 24, 2014


I've been trying to change the textcolor of my timepicker. But I can't find where the parent style is located. I've tried both



<style name="MyTimePicker" parent="@android:style/Widget.Holo.TimePicker">
<item name="android:textColor">@color/text</item>
</style>


and



<style name="MyTimePicker" parent="@android:style/Widget.TimePicker">
<item name="android:textColor">@color/text</item>
</style>


My minSdkVersion is 15. My targetSdkVersion is 20. I have rebuilded and cleaned my project.

I think I've been through every similar question on SO and none of them really have provided a solution for me. The only answer that might work is using some sort of library, but I'm not a big fan of that solution. Is the path to the parent something different from what I'm using, because I'm pretty sure I should be able to access it somehow?


0 comments:

Post a Comment