via code should like this:
editText.setTransformationMethod(PasswordTransformationMethod.getInstance());
not :
editText.setInputType;
see:
http://stackoverflow.com/questions/2586301/set-inputtype-for-an-edittext
via code should like this:
editText.setTransformationMethod(PasswordTransformationMethod.getInstance());
not :
editText.setInputType;
see:
http://stackoverflow.com/questions/2586301/set-inputtype-for-an-edittext
本文标题:Android EditText InputType (java
本文链接:https://www.haomeiwen.com/subject/fjcdlttx.html
网友评论