How do we set the input type for an EditText programatically? I’m trying:

mEdit.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD);

it doesn’t seem to have any effect.

16 Answers
16

Leave a Reply

Your email address will not be published. Required fields are marked *