android 界面中加入密码框
16lz
2021-01-23
android中加入密码框其实很简单
在EditText的基础上加入一条属性
android:password="true"就可以了
如下:
<EditText android:id="@+id/etPwd"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/str_pwd"
android:password="true"
/>
在EditText的基础上加入一条属性
android:password="true"就可以了
如下:
<EditText android:id="@+id/etPwd"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/str_pwd"
android:password="true"
/>
更多相关文章
- pull总是提示输入密码问题是什么情况?
- 属性值反序列化失败怎么解决?
- ASP.NET中healthMonitor属性的用法教程
- C#中如何监控类属性更改的代码案例分享
- localStorge开发实现登录记住密码与自动登录实例
- C#如何通过对象属性名修改值的实例
- 疑惑解答: CSS中背景图片的background-position属性问题
- ASP.NET数据库密码:MD5加密算法详解
- textbox控件属性有哪些