<EditText
android:id="@+id/EditText01"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:password="true"
android:inputType="phone" />
不过貌似android:password="true"有点不大支持了。
只是这个一定不能用
android:inputType="textPassword|phone"
不摘掉为啥 只有第二个有效果
本文探讨了Android中EditText组件的使用技巧,特别是如何设置密码输入与电话号码输入类型的兼容性问题。文章指出了使用android:password=true存在的限制,并给出了正确的配置方法。
2159

被折叠的 条评论
为什么被折叠?



