It took me a while to find a way to display dots in the password edit text field.
I've expected something simple as property displayAsPassword in Flex. In the xml, yes, it is very simple, just write android:password = "true", but I was working on generating forms on the fly where I needed to set password property dynamically.
//So here is solution: formField.setTransformationMethod(PasswordTransformationMethod.getInstance());
No comments:
Post a Comment