Example usage for Java android.app TimePickerDialog fields, constructors, methods, implement or subclass
The text is from its open source code.
TimePickerDialog(Context context, OnTimeSetListener listener, int hourOfDay, int minute, boolean is24HourView) Creates a new time picker dialog. | |
TimePickerDialog(Context context, int themeResId, OnTimeSetListener listener, int hourOfDay, int minute, boolean is24HourView) Creates a new time picker dialog with the specified theme. |
void | setButton(int whichButton, CharSequence text, Message msg) Set a message to be sent when a button is pressed. |
void | setOnKeyListener(@Nullable OnKeyListener onKeyListener) Sets the callback that will be called if a key is dispatched to the dialog. |
void | setTitle(CharSequence title) |
void | show() |
void | updateTime(int hourOfDay, int minuteOfHour) Sets the current time. |