没有设置editText的inputtype属性,比如<android:inputtype="textpassword"> 转载于:https://blog.51cto.com/binuu/777459