How to mask password in android using java?

851 Views Asked by At

I am creating a Log-In page, Where I need to mask the password field. I dunno the syntax.I am using eclipse.

1

There are 1 best solutions below

2
On

In the input field tag, use the type as password and your field will be created with masked input.

<INPUT TYPE="PASSWORD" NAME="XXXX">