title: Change TimePicker text color
body: <p>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 </p>
  
  <pre><code>&lt;style name="MyTimePicker" parent="@android:style/Widget.Holo.TimePicker"&gt;
      &lt;item name="android:textColor"&gt;@color/text&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;style name="MyTimePicker" parent="@android:style/Widget.TimePicker"&gt;
      &lt;item name="android:textColor"&gt;@color/text&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>My <code>minSdkVersion</code> is 15. My <code>targetSdkVersion</code> is 20. I have rebuilded and cleaned my project.<br>
  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?</p>
  
  <p><strong>Edit</strong><br>
  This is how the theme is applied; </p>
  
  <pre><code>&lt;TimePicker
      style="@style/MyTimePicker"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:id="@+id/timePicker"
      android:layout_below="@+id/textView"
      android:layout_centerHorizontal="true" /&gt;
  </code></pre>
  
  <p>On a note this is the error I receive (forgot to place it before):</p>
  
  <blockquote>
    <p>Error:Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.TimePicker'.</p>
  </blockquote>
  
  <p><strong>Edit 2</strong>
  A couple of the questions I've viewed to try to solve this:</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/10969513/how-can-i-override-timepicker-to-change-text-color">How can I override TimePicker to change text color</a> - I think this question gets as close to an answer, but I'm not entirely sure what I need to do? Do I need to import the android TimePicker style into my project?  </li>
  <li><a href="https://stackoverflow.com/questions/24973586/set-textcolor-for-timepicker-in-customized-app-theme">https://stackoverflow.com/questions/24973586/set-textcolor-for-timepicker-in-customized-app-theme</a> - No answer is given.</li>
  <li><a href="https://stackoverflow.com/questions/12227884/how-can-i-change-the-textcolor-of-my-timepicker-and-datepicker">How can i change the textcolor of my timepicker and datepicker?</a> - Tried the 0 votes answer, but it didn't work.</li>
  <li><a href="https://stackoverflow.com/questions/11077530/how-to-change-the-default-color-of-datepicker-and-timepicker-dialog-in-android">How to change the default color of DatePicker and TimePicker dialog in Android?</a> - Again can't find the TimePicker in a similar way.</li>
  <li><a href="https://stackoverflow.com/questions/21662544/android-how-do-i-change-the-textcolor-in-a-timepicker">Android - How do I change the textColor in a TimePicker?</a> - Again, can't find the actual TimePicker parent.</li>
  </ol>
  
  <p>These are probably the best questions/answers to my problem, but none of them help me. It would be nice to get a definitive answer on this.</p>