title: Set first day of week in DatePicker to monday
body: <p>I have a DatePicker where I disabled the SpinnerView and now only use the CalendarView. But it starts with the sunday and I would like to use monday as the first day of the week. How can I change that? I guessed that the first day would depend on the phones settings but on my swiss phone its still wrong...</p>
  
  <p>I haven't found any set Method or any XML command.</p>
  
  <pre><code>&lt;DatePicker
     android:id="@+id/date_picker"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:layout_alignParentLeft="true"
     android:layout_alignParentRight="true" /&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>DatePicker datePicker = (DatePicker)   convertView.findViewById(R.id.date_picker);
  datePicker.setSpinnersShown(false);
  </code></pre>
  
  <p><strong>------------EDIT:------------</strong></p>
  
  <p>I tried to change the locale:</p>
  
  <pre><code>Locale.setDefault(Locale.GERMAN);
  </code></pre>
  
  <p>But that didn't change anything ether. So I read the android-17.android.widget.DatePicker.java where I found out:</p>
  
  <pre><code>public DatePicker(Context context, AttributeSet attrs, int defStyle) {
    //...  
    // initialization based on locale
          setCurrentLocale(Locale.getDefault());
    //...
  }
  
  
   /**
   * Sets the current locale.
   *
   * @param locale The current locale.
   */
  private void setCurrentLocale(Locale locale) {
      if (locale.equals(mCurrentLocale)) {
          return;
      }
  
      mCurrentLocale = locale;
  
      mTempDate = getCalendarForLocale(mTempDate, locale);
      mMinDate = getCalendarForLocale(mMinDate, locale);
      mMaxDate = getCalendarForLocale(mMaxDate, locale);
      mCurrentDate = getCalendarForLocale(mCurrentDate, locale);
  
      mNumberOfMonths = mTempDate.getActualMaximum(Calendar.MONTH) + 1;
      mShortMonths = new String[mNumberOfMonths];
      for (int i = 0; i &lt; mNumberOfMonths; i++) {
          mShortMonths[i] = DateUtils.getMonthString(Calendar.JANUARY + i,
                  DateUtils.LENGTH_MEDIUM);
      }
  }
  
   /**
   * Gets a calendar for locale bootstrapped with the value of a given calendar.
   *
   * @param oldCalendar The old calendar.
   * @param locale The locale.
   */
  private Calendar getCalendarForLocale(Calendar oldCalendar, Locale locale) {
      if (oldCalendar == null) {
          return Calendar.getInstance(locale);
      } else {
          final long currentTimeMillis = oldCalendar.getTimeInMillis();
          Calendar newCalendar = Calendar.getInstance(locale);
          newCalendar.setTimeInMillis(currentTimeMillis);
          return newCalendar;
      }
  }
  </code></pre>
  
  <p>So why does Locale.setDefault(Locale.GERMAN) not work?!
  As you can see above I get the DatePicker from the XML.. is there any mistake?!</p>