editText.setInputType(0x81) 很变态的办法,但是很有用。
Android 密码输入框强力实现
原创
©著作权归作者所有:来自51CTO博客作者wx5a937110dbf3b的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:关于android创建对话框报错The method setPositiveButton(int, DialogInterface.OnClickListener) in the type Alert
下一篇:关于字符编码,你所需要知道的
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
android中输入密码 安卓设置密码输入框
简介 EditText(输入框),是安卓开发布局时比较常用的控件,和TextView非常类似,最大的区别是:EditText可以接受用户输入。属性属性说明android:text=""输入的文本内容android:textColor=""输入内容的颜色android:textStyle=""输入内容的字体
android中输入密码 android android studio java Text