Can't input traditional Chinese words in AutoCompleteTextField by Google Gboard keyboard on Samsung - codenameone

On my Samsung mobile phone, there is no other language option in Language settings except for "English", also Gboard keyboard settings don't show the "Traditional Chinese" language option on AutoCompleteTextField.
But TextField and TextArea components don't have this "Traditional Chinese" problem.

Related

Customize the iOS VKB toolbar

The native iOS VKB can have a toolbar, and this toolbar can have a blue "Done" text.
I would like to be able to translate the "Done" text into the local language of the app (the language bundle used by Codename One does not translate this text), also I would like to change the color of the "Done" text from blue to orange.
I don't know how to do these customizations with Codename One. Thank you for the directions.
The word "done" is used when localizing. Notice the lower case d. So adding "done" = "Localized String" to the resource bundle should work.

Arrows not showing up in airbnb/react-dates (yes in mobile screen, not in desktop)

I am using the library airbnb/react-dates for the datepicker. I am using the standard code:
<SingleDatePicker
orientation={datePickerOrientation}
date={newEndsOn}
onDateChange={(date) => setNewEndsOn(date)}
focused={datePickerFocused}
onFocusChange={({ focused }) => setDatePickerFocused(focused)}
/>
where datePickerOrientation can get the values 'vertical' or 'horizontal', depending on mobile device or desktop.
In mobile device I can see the navigation arrows to move over months. Unfortunately, I can not see the arrows on the desktop version.
Does anybody know why? Is this expected behaviour?
I found in this issue that you can override the arrows, but unfortunately it just work for mobile:
https://github.com/airbnb/react-dates/issues/692
Somehow the arrows for desktop are not in the dom.

how to detect samsung virtual buttons

I made my app responsive using react native responsive screen and using widthPercentageToDP as wp, heightPercentageToDP as hp and using these persentage values to scale across all devices and for most devices that seems to do the trick however when it comes to samsung specific devices that use onscreen buttons eg s8 s9 s10 note series etc it doesn't seem to detect the onscreen buttons and some content ends up being hidden
for example on all the pixel phones the screen height ends at the on screen buttons but when it comes to these samsung devices it seems like it doesn't knew there even there
Each component from my applications has a View that uses a
someStyle: {
flex: 1
}
Some of them do not have that style but their parent does.

Keyboard always visible in codenameone

I would like to know if it's possible to have the native keyboard always visible. So I don't need to tap to have the text field in focus.
Thanks in advance.
That is the default behavior of Codename One at least on iOS & Android unless a fallback mode happened. This fallback mode happens when components can't be scrolled to e.g. if the text fields weren't in a box layout Y that's scrollable on a Y axis.

How to get numeric keypad on qooxdoo mobile textfield widget

I have a textfield widget in a qooxdoo mobile app which is intended for numeric input only.
Is there any way to get a numeric keypad when inputting/editing values on a qooxdoo mobile textfield widget?
I have found this http://blog.pamelafox.org/2012/05/triggering-numeric-keyboards-with-html5.html .
That link would be a solution if I knew how to access the html input element of the textfield widget that I could set the type and step attributes on it. But maybe qooxdoo offers a more direct solution.
So the question is - how to get a numeric keypad when inputting/editing to a qooxdoo mobile textfield widget.
There exists qooxdoo.ui.mobile.form.NumberField which has a very attractive numeric keypad.
Does the job very nicely.
Hope this helps someone else.

Resources