Dear readers,
I am building an app in which my users need to register with a username and password. I am forcing the phone to use a landscape orientation.
When my phone is in landscape mode, and I focus on an input text field, the native keyboard shows up with a white area where my text appears. This is all well and good, exept for the time where I want to use a password field (e.g. when I set isSecure to true). Text in the password field is hidden by dot’s (as it’s supposed to do) but in the white area, where I actually type the text, it is still visible as plain text.
the code I am using:
[lua]passwordField = native.newTextField( 0, 40, 200, 30 )
passwordField.x, passwordField.y = Utils.toCenter(passwordField, {x=0, y=20})
passwordField.isSecure = true
group:insert( passwordField )[/lua]
I hope someone can help me.
Thank you in advance.
Peter Goes [import]uid: 103447 topic_id: 27367 reply_id: 327367[/import]