Hello
1. I tried to set up the soft keyboard to show ALLCAPS and disable the predictions, so that the user inputs easily capital letters from the start as shown on the keyboard, and when the user clicks Done/Next, the text entered would not change according to predictions. Also, the keyboard shown needs to overlap the user screen, not substitute it as the user enters the text.
In order to do so, I am using the following code:
but this only fixes capital letters (and good overlap over the activity), it does not disable the predictions at the same time.
Any suggestions on how to do it?
---------------------------------------
2. Also, the EditText that will contain the text is being set as ready to use for the user when clicking a button. I used the RequestFocus to do so, and this puts the prompt inside the EditText, but it does NOT automatically bring up the soft keyboard.
Any idea on how to do that automatically?
Many thanks!
Adrian
1. I tried to set up the soft keyboard to show ALLCAPS and disable the predictions, so that the user inputs easily capital letters from the start as shown on the keyboard, and when the user clicks Done/Next, the text entered would not change according to predictions. Also, the keyboard shown needs to overlap the user screen, not substitute it as the user enters the text.
In order to do so, I am using the following code:
B4X:
EditID.InputType = Bit.Or(EditID.INPUT_TYPE_TEXT, 4096)
Ref3.Target = EditID ' The text field being referenced
Ref3.RunMethod2("setImeOptions", 268435456, "java.lang.int")
Any suggestions on how to do it?
---------------------------------------
2. Also, the EditText that will contain the text is being set as ready to use for the user when clicking a button. I used the RequestFocus to do so, and this puts the prompt inside the EditText, but it does NOT automatically bring up the soft keyboard.
Any idea on how to do that automatically?
Many thanks!
Adrian