My app has a dialog that wants to show 4 string pickers with numbers as
strings.
Code is like
Picker stringPicker = new Picker();
stringPicker.setType(Display.PICKER_TYPE_STRINGS);
stringPicker.setName(pickerName);
String[] strings=new String[max];
for (int i=0;i<=max;i++) strings[i]=String.valueOf(i);
stringPicker.setStrings(strings);
stringPicker.setSelectedString(strings[0]);
pickersArea.add(stringPicker);
As you can see in the attached images the pickers are in a certain layout
that works, but I thought I woud see the real pickers, not just the current
selection for each of them.
1-If I click on a picker the real picker appears in a separate dialog.
Using the tab key or the provided up/down arrows it is possible to cycle
through the pickers, but this is not the intended user experience.
How can I have the real pickers on the first dialog? On Android it is
possible.
2-I need that the pickers have a label. Is there a method or I have to
include the labels in the layout?
Thanks in advance
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/7d821063-3e5b-4dbc-ac9c-effc3aef58c1o%40googlegroups.com.