new DatePickerDialog(this, new OnDateSetListener() {
@Override
public void onDateSet(DatePicker arg0, int arg1, int arg2, int arg3) {
// TODO Auto-generated method stub
setTitle(year+"-"+arg2+"-"+arg3);
}
}, year, cal.get(Calendar.MONTH)+1, day).show();
ziom
相关分类