I have a tabhost with 3 tabs. One set of tab consists of several edittext within a scollview.
Whenever I enter this edittext tab for the first time, I don't get the soft keyboard. I can select an edittext, enter text, and exit it no problem.
HOWEVER, when I leave it and come back focus automatically goes to a visible edittext (not necessarily one I chose previously) with the soft keyboard popping up automatically.
ALSO, when I press enter on one edittext, the focus automatically drops to the next edittext(which is not what I want)
Clearly this is not good behaiviour as I would like the keyboard to ONLY show up with an edittextis selected and I would like an edittextto ONLY be selected by a touch event and not, as it's doing now, automatically when I enter the tab or press "enter" on another edittext. As well, when I press enter I would like for the soft keyboard to disappear and no other edittextselected.
My code is rather long and tedious so any general advice or help you can give me without have to post it would be great. I've attached my apk file for your consideration and (if it works for you) the problem tab is "procedures".
Thanks in advance for reading this and your help!
Whenever I enter this edittext tab for the first time, I don't get the soft keyboard. I can select an edittext, enter text, and exit it no problem.
HOWEVER, when I leave it and come back focus automatically goes to a visible edittext (not necessarily one I chose previously) with the soft keyboard popping up automatically.
ALSO, when I press enter on one edittext, the focus automatically drops to the next edittext(which is not what I want)
Clearly this is not good behaiviour as I would like the keyboard to ONLY show up with an edittextis selected and I would like an edittextto ONLY be selected by a touch event and not, as it's doing now, automatically when I enter the tab or press "enter" on another edittext. As well, when I press enter I would like for the soft keyboard to disappear and no other edittextselected.
My code is rather long and tedious so any general advice or help you can give me without have to post it would be great. I've attached my apk file for your consideration and (if it works for you) the problem tab is "procedures".
Thanks in advance for reading this and your help!
Last edited: