Slacker Active Member Licensed User Longtime User Mar 1, 2014 #1 Hello folks, as the title, despite i set ForceDone property = True, the "Done" button does not appear as i enter in the multiline editText field. My Android version is 2.3.4 (is pretty old i know). Any suggestions ? Thank you !
Hello folks, as the title, despite i set ForceDone property = True, the "Done" button does not appear as i enter in the multiline editText field. My Android version is 2.3.4 (is pretty old i know). Any suggestions ? Thank you !
stevel05 Expert Licensed User Longtime User Mar 1, 2014 #2 It doesn't on my 4.4.2 tablet either, when you are entering multi lines, you'd expect to see a return key, which is what I get. There are many discussions about it on StackExchange and it depends what the end result is you want. One suggestion is to set the field as single line, with the force done button on and then in code: Code: Copy Dim JO As JavaObject = EditText1 JO.RunMethod("setHorizontallyScrolling",Array As Object(False)) JO.RunMethod("setLines",Array As Object(3)) which displays the Finished button, and forces wrapping of text, but you obviously cannot enter carriage returns, so no hard line breaks. Last edited: Aug 4, 2014 Upvote 0
It doesn't on my 4.4.2 tablet either, when you are entering multi lines, you'd expect to see a return key, which is what I get. There are many discussions about it on StackExchange and it depends what the end result is you want. One suggestion is to set the field as single line, with the force done button on and then in code: Code: Copy Dim JO As JavaObject = EditText1 JO.RunMethod("setHorizontallyScrolling",Array As Object(False)) JO.RunMethod("setLines",Array As Object(3)) which displays the Finished button, and forces wrapping of text, but you obviously cannot enter carriage returns, so no hard line breaks.