博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
android:inputType参数类型说明
阅读量:7123 次
发布时间:2019-06-28

本文共 1235 字,大约阅读时间需要 4 分钟。

android:inputType="none"--输入普通字符

android:inputType="text"--输入普通字符

android:inputType="textCapCharacters"--输入普通字符

android:inputType="textCapWords"--单词首字母大

android:inputType="textCapSentences"--仅第一个字母大小

android:inputType="textAutoCorrect"--前两个自动完成

android:inputType="textAutoComplete"--前两个自动完成

android:inputType="textMultiLine"--多行输入

android:inputType="textImeMultiLine"--输入法多行(不一定支持)

android:inputType="textNoSuggestions"--不提示

android:inputType="textUri"--URI格式

android:inputType="textEmailAddress"--电子邮件地址格式

android:inputType="textEmailSubject"--邮件主题格式

android:inputType="textShortMessage"--短消息格式

android:inputType="textLongMessage"--长消息格式

android:inputType="textPersonName"--人名格式

android:inputType="textPostalAddress"--邮政格式

android:inputType="textPassword"--密码格式

android:inputType="textVisiblePassword"--密码可见格式

android:inputType="textWebEditText"--作为网页表单的文本格式

android:inputType="textFilter"--文本筛选格式

android:inputType="textPhonetic"--拼音输入格式

android:inputType="number"--数字格式

android:inputType="numberSigned"--有符号数字格式

android:inputType="numberDecimal"--可以带小数点的浮点格式

android:inputType="phone"--拨号键盘

android:inputType="datetime"

android:inputType="date"--日期键盘

android:inputType="time"--时间键盘

转载于:https://www.cnblogs.com/ejllen/p/3730111.html

你可能感兴趣的文章
C++ map 映照容器
查看>>
重新想象 Windows 8 Store Apps (40) - 剪切板: 复制/粘贴文本, html, 图片, 文件
查看>>
[WinAPI] API 13 [遍历指定目录 打印文件和其他属性]
查看>>
字对齐、半字对齐、字节对齐的理解
查看>>
杀毒软件导致YourSQLDba备份失败
查看>>
struts2漏洞原理及解决办法
查看>>
利用cca进行fmri分析
查看>>
Oracle Dataguard之switchover
查看>>
Step-by-Step XML Free Spring MVC 3 Configuration--reference
查看>>
关于LD_DEBUG (转载)
查看>>
linux2.6.30.4内核移植(4)——完善串口驱动
查看>>
Timer&TimerTask原理分析
查看>>
GDI+ 和GDI
查看>>
日常工作中的点滴总结from 2014-03
查看>>
Yii的学习(2)--数据访问对象 (DAO)
查看>>
中国软件开发project师之痛
查看>>
XSS与字符编码的那些事儿
查看>>
抢鞋神器激活器 下载
查看>>
windows server 2008 R2安装图片浏览器/照片查看器方法
查看>>
【来写个2048吧】—— 后期优化及源代码
查看>>