title: How to change the style from DatePicker and TimePicker programmatically in Android?
body: <p>I created a TabHost which contains 2 tabs with a DatePicker and a TimePicker:</p>
  
  <pre><code>TabHost dayTabHost = (TabHost) layout.findViewById(R.id.tabHost);
  dayTabHost.setup();
  
  TabHost.TabSpec dayTabSpec = dayTabHost.newTabSpec("Day");
  dayTabSpec.setIndicator("Day");
  dayTabSpec.setContent(new TabHost.TabContentFactory() {
                  public View createTabContent(String arg) {
                      DatePicker datePicker = new DatePicker(getBaseContext());
                      return datePicker;
                  }
              });
  dayTabHost.addTab(dayTabSpec);
  
  TabHost.TabSpec timeTabSpec= dayTabHost.newTabSpec("Time");
  timeTabSpec.setIndicator("Time");
  timeTabSpec.setContent(new TabHost.TabContentFactory() {
                  public View createTabContent(String arg) {
                      TimePicker timePicker = new TimePicker(getBaseContext());
                      return timePicker;
                  }
              });
  dayTabHost.addTab(timeTabSpec);
  </code></pre>
  
  <p>I don't know how to change the color of those Pickers to a different style that is used in the app in this situation.</p>