MarcoRome Expert Licensed User Longtime User Dec 22, 2016 #1 Hi all. I want ( as in object ) change Text "Done" in button keyboard with a custom string. My code is: B4X: Dim jo As JavaObject = EditText1 jo.RunMethod("setImeActionLabel", Array As Object("Test", 6)) ' 6 = EditorInfo.IME_ACTION_DONE But dont work. Any idea? Thanks Marco Last edited: Dec 23, 2016
Hi all. I want ( as in object ) change Text "Done" in button keyboard with a custom string. My code is: B4X: Dim jo As JavaObject = EditText1 jo.RunMethod("setImeActionLabel", Array As Object("Test", 6)) ' 6 = EditorInfo.IME_ACTION_DONE But dont work. Any idea? Thanks Marco
MarcoRome Expert Licensed User Longtime User Dec 25, 2016 #2 MarcoRome said: Hi all. I want ( as in object ) change Text "Done" in button keyboard with a custom string. My code is: B4X: Dim jo As JavaObject = EditText1 jo.RunMethod("setImeActionLabel", Array As Object("Test", 6)) ' 6 = EditorInfo.IME_ACTION_DONE But dont work. Any idea? Thanks Marco Click to expand... Hi Erel. Having received no response from anyone. Have you any chance the solution to this problem. Merry Christmas Upvote 0
MarcoRome said: Hi all. I want ( as in object ) change Text "Done" in button keyboard with a custom string. My code is: B4X: Dim jo As JavaObject = EditText1 jo.RunMethod("setImeActionLabel", Array As Object("Test", 6)) ' 6 = EditorInfo.IME_ACTION_DONE But dont work. Any idea? Thanks Marco Click to expand... Hi Erel. Having received no response from anyone. Have you any chance the solution to this problem. Merry Christmas
Erel B4X founder Staff member Licensed User Longtime User Dec 25, 2016 #3 It is the keyboard application that is responsible for showing the custom text. Try it with a different keyboard. It might work. Upvote 0
It is the keyboard application that is responsible for showing the custom text. Try it with a different keyboard. It might work.
MarcoRome Expert Licensed User Longtime User Dec 26, 2016 #4 Hi. Is right this code in Manifest: B4X: AddManifestText(<EditText1 android:imeOptions="actionDone" android:imeActionLabel="Test"/>) Thank you Marco Upvote 0
Hi. Is right this code in Manifest: B4X: AddManifestText(<EditText1 android:imeOptions="actionDone" android:imeActionLabel="Test"/>) Thank you Marco