Android Question For changing the text of the "Done" button to a custom string

MarcoRome

Expert
Licensed User
Longtime User
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:

MarcoRome

Expert
Licensed User
Longtime User

Hi Erel.
Having received no response from anyone. Have you any chance the solution to this problem.
Merry Christmas
 
Upvote 0

MarcoRome

Expert
Licensed User
Longtime User
Hi.
Is right this code in Manifest:

B4X:
AddManifestText(<EditText1
    android:imeOptions="actionDone"
    android:imeActionLabel="Test"/>)

Thank you
Marco
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…