2013-03-04 51 views

回答

0

您必須將TimePickerDialog's constructor(其名稱爲is24HourView)中的最後一個參數從true更改爲false。這是行101:

final TimePickerDialog timeDialog = new TimePickerDialog(currentCtx, timeSetListener, mHour, 
     mMinutes, true); 

應該

final TimePickerDialog timeDialog = new TimePickerDialog(currentCtx, timeSetListener, mHour, 
     mMinutes, false);