Skip to main content
Inspiring
July 14, 2013
Question

Android Soft Keyboard issues

  • July 14, 2013
  • 1 reply
  • 455 views

I'm testing on a Nexus 4, Android 4.2.2, and having a few challenges getting the virtual keyboard to behave:

1. When a TextField gains focus, it always provides the return (newline) button in the bottom right, which successfully creates a newline in the TextField -- even though the TextField is set to single line, and I have restrict set to "^\n\r". How can I prevent the newline button from appearing, and if not, how can I prevent newlines in my single line TextField?

2. Is there a way to customize the action button (return key default) on the soft keyboard? Say to make it be "DONE" or something else?

-Aaron

This topic has been closed for replies.

1 reply

Inspiring
July 22, 2013

Just discovered StageText. Looks very promising to solve a lot of my issues:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/StageText.html

- Aaron