Tuesday, December 14, 2010

Display password in EditText in android application.

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:

No comments:

Post a Comment