Android开发中项目实现一个显示输入密码的功能?很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。
具体如下:
main.xml:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /> <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:inputType="textPassword" android:id="@+id/mima" /> <CheckBox android:text="显示密码" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/xianshifou"/> </LinearLayout>
当前名称:Android开发中项目实现一个显示输入密码的功能-创新互联
网站网址:https://www.cdcxhl.com/article2/dsepoc.html
成都网站建设公司_创新互联,为您提供做网站、虚拟主机、移动网站建设、标签优化、网站设计公司、微信公众号
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联