机器人之间的区别:inputType =" textPassword"," textVisiblePassword"," textWebPassword"和" numberPassword"在Android的? [英] Difference between android:inputType="textPassword", "textVisiblePassword","textWebPassword" and "numberPassword" in android?

查看:1414
本文介绍了机器人之间的区别:inputType =" textPassword"," textVisiblePassword"," textWebPassword"和" numberPassword"在Android的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能解释之间的差异

 安卓inputType =textPassword
   机器人:inputType =textVisiblePassword
   机器人:inputType =textWebPassword
   机器人:inputType =numberPassword
 

EditText上的ViewGroup在Android的布局?

解决方案

 安卓inputType =textPassword
 

上面的命令将密码作为一个字符串

 安卓inputType =textVisiblePassword
 

以上一人将进行密码文本可见

 安卓inputType =numberPassword
 

而这一次将采取数字密码只有

Can anyone explain the differences between the

   android:inputType="textPassword",
   android:inputType="textVisiblePassword",
   android:inputType="textWebPassword",
   android:inputType="numberPassword"

of EditText ViewGroup in Android Layout?

解决方案

android:inputType="textPassword"

Above command will take the password as a string

android:inputType="textVisiblePassword"

Above one will make the password text visible

android:inputType="numberPassword

And this one will take numeric password only

这篇关于机器人之间的区别:inputType =" textPassword"," textVisiblePassword"," textWebPassword"和" numberPassword"在Android的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆