look at the setTransformationMethod() - for instance, to turn password
mode on:

myEditText.setTransformationMethod
(android.text.method.PasswordTransformationMethod.getInstance());


On May 5, 7:17 pm, rain <[email protected]> wrote:
> There's a "password" attribute  in the xml file , but i want set the
> password attribute through the code.
>
> actually , In my project  all Views are generated on the fly. do not
> using the xml files.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to