I have a LinearLayout
with several EditText
's, all of them created programmatically (not with an XML layout), and in particular without IDs.
When I'm typing in one of the EditText
's, and the next one (respective to focus) is disabled, and I press the Next IME button on the keyboard, the focus advances to the disabled EditText
, but I can't type anything in it.
What I was expecting was focus to advance to the next enabled EditText
. I also tried, in addition to making the EditText
disabled via edittext.setEnabled(false)
, to disable its focusability via edittext.setFocusable(false)
and edittext.setFocusableInTouchMode(false)
, and to set a TYPE_NULL
input type, but to no avail.
Any hints?
Thanks ;)