如何获得具有电话输入和隐藏字符串功能的 Edittext。我知道
android:inputType="textPassword"
隐藏字符串,同时
android:inputType="phone"
调出拨号盘界面。
如何将两者结合起来?
android:password
已弃用,但据我所知是唯一的方法,因为android:inputType="phone|textPassword"
被忽略...
<EditText
android:id="@+id/EditText01"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:password="true"
android:inputType="phone" />
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)