Been experimenting with InputTypes today and found some interesting stuff:
TYPE_TEXT_VARIATION_PASSWORD behaves how I expect with hiding the password as I type and only showing the letter for a second then hiding it as well as hiding it when keyboard closed. I'm not sure what the PasswordMode option does, but it isn't working for passwords the way I expect with only hiding it when keyboard is closed. It seems to draw the dots different too. TYPE_TEXT_VARIATION_VISIBLE_PASSWORD appears to do nothing on my devices, but sounds like it describes what PasswordMode is doing. May want to just add the input type that operates more standard than a separate option, or maybe in addition to the options for those that like the Visible Passwords PasswordMode does.
I tested every one of the InputTypes in Google's list...most of which weren't very useful or didn't do anything. The DateTime Class is completely missing from the Edit Views in B4A, but seems to be the same as Number for the most part. A few would be very useful to integrate into the B4A Edit controls-
1. Signed Numbers and Signed Decimals
2. Email Address
3. URI/URL
4. Password (Mentioned Above)
5. Cap Chars/Sentences/Words
Some others in Google's list initially got me excited, but then let down once I tried them. Person_Name to me should operate like Cap Words with primary suggestions from Contacts or something, but didn't appear to. The 5-8 things above would be the best of them to have built-in though, and possibly Flag_No_Suggestions (My phone likes suggestions a lot and thinks I mean them instead of what I'm typing).
TYPE_TEXT_VARIATION_PASSWORD behaves how I expect with hiding the password as I type and only showing the letter for a second then hiding it as well as hiding it when keyboard closed. I'm not sure what the PasswordMode option does, but it isn't working for passwords the way I expect with only hiding it when keyboard is closed. It seems to draw the dots different too. TYPE_TEXT_VARIATION_VISIBLE_PASSWORD appears to do nothing on my devices, but sounds like it describes what PasswordMode is doing. May want to just add the input type that operates more standard than a separate option, or maybe in addition to the options for those that like the Visible Passwords PasswordMode does.
I tested every one of the InputTypes in Google's list...most of which weren't very useful or didn't do anything. The DateTime Class is completely missing from the Edit Views in B4A, but seems to be the same as Number for the most part. A few would be very useful to integrate into the B4A Edit controls-
1. Signed Numbers and Signed Decimals
2. Email Address
3. URI/URL
4. Password (Mentioned Above)
5. Cap Chars/Sentences/Words
Some others in Google's list initially got me excited, but then let down once I tried them. Person_Name to me should operate like Cap Words with primary suggestions from Contacts or something, but didn't appear to. The 5-8 things above would be the best of them to have built-in though, and possibly Flag_No_Suggestions (My phone likes suggestions a lot and thinks I mean them instead of what I'm typing).
Last edited: