title: DatePicker issue in android 4.1 and 4.2
body: <p>I am developing an android app for all the versions (version 2.2 to 4.2). I am using datePicker in it and changing the color of selected date to white using following code:</p>
  
  <pre><code>if (currentapiVersion &gt;= 14) {
  
      ViewGroup dayChildpicker = (ViewGroup) datePicker
              .findViewById (Resources.getSystem().getIdentifier("day", "id", "android"));
      ViewGroup monthChildpicker = (ViewGroup) datePicker
              .findViewById(Resources.getSystem().getIdentifier("month", "id", "android"));
      ViewGroup yearChildpicker = (ViewGroup) datePicker
              .findViewById(Resources.getSystem().getIdentifier("year", "id", "android"));
  
      EditText dayET = null;
      EditText mornthET = null;
      EditText yearET = null;
  
      dayET = (EditText) dayChildpicker.getChildAt(1);
      mornthET = (EditText) monthChildpicker.getChildAt(1);
      yearET = (EditText) yearChildpicker.getChildAt(1);
  
      dayET.setTextColor(Color.WHITE); // null pointer error on this line
      mornthET.setTextColor(Color.WHITE);
      yearET.setTextColor(Color.WHITE);
  }
  </code></pre>
  
  <p>But this is throwing null pointer exception in android 4.1 and 4.2(Jelly beans) at the line</p>
  
  <pre><code>dayET.setTextColor(Color.WHITE);
  </code></pre>
  
  <p>In Jelly beans, I am not getting Edit text view in datepicker.</p>
  
  <p>What is the method to get childs of date picker in jellybeans and how to change text color of selected date in date picker. </p>
  
  <p>Please guide me.</p>