Marinell / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Next button on Android keyboard disappears after second TextInput #967

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have a form with Labels and TextFields to do a survey. When edit a TextField 
with native keyboard the button Next appears, when you pressed it the next 
TextField its now focused but the Next button doesn't appears even when are 
more TextFields below this.

I'm tested this in many Android devices. OS versions 2.3, 4.0, 4.3 and 4.4.

I'm also tested on iOS and this worked fine.

What steps will reproduce the problem?
1.Create a form, add 5 TextField
2.Run the app, select the first TextField and press the Next button on the 
native keyboard
3.The Next button disappears

What is the expected output? What do you see instead?
The Next button on the keyboard while you have TextFields under the focused 
TextField.

What version of the product are you using? On what operating system?

Plugin version 1.0.58

Please provide any additional information below.

Original issue reported on code.google.com by jaz...@gmail.com on 21 Nov 2013 at 8:11

GoogleCodeExporter commented 9 years ago

Original comment by shai.almog on 21 Nov 2013 at 8:23

GoogleCodeExporter commented 9 years ago
not able to reproduce this.
This works fine for me: (maybe it's related to the layout don't use the default 
flowlayout)

        Form f = new Form("Hi");
        f.setLayout(new BoxLayout(BoxLayout.Y_AXIS));
        f.addComponent(new TextField());
        f.addComponent(new TextField());
        f.addComponent(new TextField());
        f.addComponent(new TextField());
        f.addComponent(new TextField());
        f.addComponent(new TextField());
        f.addComponent(new TextField());

        f.show();

Original comment by cf27...@gmail.com on 25 Nov 2013 at 7:47