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

后端 未结 5 1926
野的像风
野的像风 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:20

    I haven't tried this, but it might be possible to combine the two like so:

    android:inputType="textPassword|phone"
    

    since inputType can take on multiple values.

提交回复
热议问题