Edittext set for password with phone number input? (android)

后端 未结 5 1936
野的像风
野的像风 2020-12-03 17:09

How do I get a Edittext with both a phone input and the ability to hide the string. I know that

android:inputType=\"textPassword\"

hides th

5条回答
  •  悲&欢浪女
    2020-12-03 17:32

    android:password is deprecated, but AFAIK is the only way because android:inputType="phone|textPassword" is ignored ...

    
    

提交回复
热议问题