Indexing sequence for textentries on Android

Discuss GUI programming with the RapaGUI plugin here
Post Reply
amyren
Posts: 209
Joined: Thu May 02, 2019 11:53 am

Indexing sequence for textentries on Android

Post by amyren »

When creating an app with several textentries on screen you can use Tab to jump to next entry, and it will activate the textentries from left to right and then down to next row where it continues left to right.
But on Android each textentry will be activated with the onscreen keyboard below, and there will be a "Next" button to continue to next textentry. But it will not jump to then next to the right, it will just go down to the textentry below the one you just edited. When it reach the bottom left entry the button changes to "Finish" and will not take you to any of the right-side entries.
Another confusing thing about this is that on android the name of the textentry is not displayed in this mode, so you will not know which textentry you are at after pressing "Next".

Is it possible to set the sequence, or perhaps can this be fixed in next update?
Ideally it should follow the same sequence as when using the Tab on windows, and also pressing "Finish" should be linked to the "Ok" button so that the dialog is completed this way.

Take this dialog as an example
Image

User avatar
airsoftsoftwair
Posts: 4624
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Indexing sequence for textentries on Android

Post by airsoftsoftwair »

Can you post an MCVE so I can quickly test this here?

amyren
Posts: 209
Joined: Thu May 02, 2019 11:53 am

Re: Indexing sequence for textentries on Android

Post by amyren »

Just take your own example Dialog, make an applet of it to use with Hollywood player. Copy the xml files to the Dialogs folder but change the edit.xml from <colgroup columns="2"> to <colgroup columns="4">

User avatar
airsoftsoftwair
Posts: 4624
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Indexing sequence for textentries on Android

Post by airsoftsoftwair »

Ok, will check what's wrong there.

User avatar
airsoftsoftwair
Posts: 4624
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Indexing sequence for textentries on Android

Post by airsoftsoftwair »

This is also fixed now. RapaGUI supports Textentry.AdvanceOnCR now which can be used to achieve what you want.

Post Reply