@Override
 public void onDateChanged(DatePicker view, int year, int month, int day) {
   // TODO Auto-generated method stub
   super.onDateChanged(view, year, month, day);
   setTitle(titletext);
 }
Beispiel #2
0
 @TargetApi(Build.VERSION_CODES.HONEYCOMB)
 private static void forceTitleUpdate(
     final int year, final int month, final int day, final DatePickerDialog dialog) {
   dialog.onDateChanged(dialog.getDatePicker(), year, month, day);
 }