0

I am having 4 EditTexts in my layout. I want to apply imeOptions for the EditTexts as below,

  • editTest1: ACTION_NEXT
  • editTest2: ACTION_NEXT
  • editTest3: ACTION_NONE with disabled mode
  • editTest4: ACTION_DONE

So when user clicks the next from the 2nd EditText, It should directly go to the 4th EditText.

But when i try this, it is not working. Please guide me to achieve this.

shkschneider
  • 17,833
  • 13
  • 59
  • 112
Booshan
  • 97
  • 1
  • 3
  • 11
  • post your XMl code... – sasikumar Jun 11 '15 at 14:23
  • "But when i try this, it is not working." Can you post some code so we can tell what's wrong instead of writing it all for you? – shkschneider Jun 11 '15 at 14:26
  • Isn't nextFocusDown used for this purpose? – Thomas R. Jun 11 '15 at 14:27
  • 1
    editTest1.setImeOptions(EditorInfo.IME_ACTION_NEXT); editTest2.setImeOptions(EditorInfo.IME_ACTION_NEXT); editTest3.setImeOptions(EditorInfo.IME_ACTION_NONE); editTest4.setImeOptions(EditorInfo.IME_ACTION_DONE); This is what the code i tried yet... – Booshan Jun 11 '15 at 15:44

0 Answers0