Android Question [SOLVED] Keyboard InputType/Password

fbritop

Active Member
Licensed User
Longtime User
Hi,
I have some input fields, that requiere a alphanumeric code. Usualy when the input gets the focus, this keyboard is shown (No numbers, you have to press the number function to access them)


What I need, is that input field on focus shows the password type keyboard (no suggestions, numbers instead)


I saw that my bank did this on their android app, and it was not a password field. What flags should I use for the inputType in the Textfield object? Also is this possible in iOS?

Thanks
FBP
 

josejad

Expert
Licensed User
Longtime User
Hi:


You can use a B4XFloatTextField from the XUI VIews, check in the designer "Password field" if needed, and set "Keyboard Type" to "Numbers".




**EDITED
Also is this possible in iOS?

Yes, it's crossplatform
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…