I think you can use

android:nextFocusDown="@+id/...."

in your XML layout file

to shift focus to the next view.
When you are on the last one the "Next" key goes to "done"


geoff

On Oct 25, 8:24 am, ohnoezitasploded <[email protected]> wrote:
> Hi All,
>      I'm writing an app that includes a dialog where the user must
> enter some information in editTexts.
>
> The dialog has four editTexts in a row, and another editText below
> that (IP address and port).  So we have:
>
> [e1] [e2] [e3] [e4]
> [e5]
>
> If the cursor is in editTexts 1-4, the virtual keyboard displays a
> "next" button, which is great and very handy.  However, it only seems
> to search down, i.e. if you are in [e2] it will move the cursor to
> [e5], not [e3] as expected.
>
> Is there a way to control which box it goes to next?  It seems like
> there should be an xml property for ordering, but I haven't found
> anything like that.
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to