Continuing with the question referred in the following link:
How can I capture when time changes in a TimePicker if the keyboard is being used?
I could solve the problem but it only works when you use the actual keyboard. If you use the soft keyboard I can't get it to work.
I am programming in 1.6 version of the framework.
Any help will be much appreciated.
PS: The fact that I've search everywhere for the answer and have not been able to find it tells me that this must be so very simple or very much complicated. Help?!
Referring to the comment from Cody, you need to remove focus from the TimePicker when the dialog is closed.
You can use this, where tp is the TimePicker instance:
public void onDialogClosed(boolean positiveResult) {
tp.clearFocus();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With