Keyboard Next takes me to a Hour/Date Picker

You must Login before you can answer or comment on any questions.

Greetings,

I'm developing for Android.

I have a series of textfields on my window (inside a scrollview) and two pickers as follows:

textfield
hour picker
date picker
textfield
textfield
The problem I have is that when I finish entering data into the textfield at the top and hit the NEXT key on the keyboard, Titanium/Android moves the focus of the keyboard to the hour picker. I don't want this to happen. I want the keyboard to move to the next textfield (ie skip the pickers).

The reason this is a problem is because there is no visual indication that the picker has focus. Titanium IDE shows a warning saying "No Keyboard for id 0". The 'next' key is replaced with the 'carriage return' symbol. Typing on the keyboard (including hitting the return button) does not achieve anything and the keyboard gets stuck on the picker.

The only way to move ahead to the other fields is to hit the Android 'hard back' button, and then manually select the textfield under the pickers.

Is there a way of setting pickers to be 'non-editable' as far as the keyboard is concerned? Or some other way of making the keyboard skip the pickers?

Cheers, DJ

— asked 7 months ago by D J
0 Comments

Your Answer

Think you can help? Login to answer this question!