DatePickerDialog
afficher M01
au lieu de January
par exemple...
Voici mon code :
@OnClick(R.id.dateTextView)
public void onDateTextViewClick(View view) {
DatePickerDialog dialog = new DatePickerDialog(this,
mDateListener, mYear, mMonth, mDay);
dialog.getDatePicker().setMaxDate(mCalendar.getTimeInMillis());
dialog.show();
}
private DatePickerDialog.OnDateSetListener mDateListener = new DatePickerDialog.OnDateSetListener() {
@Override
public void onDateSet(DatePicker arg0, int arg1, int arg2, int arg3) {
// TODO Auto-generated method stub
mYear = arg1;
mMonth = arg2;
mDay = arg3;
showDate();
}
};
Comment puis-je le changer ?