android中 EditTex t的 inputType 属性
//文本类型,多为大写、小写和数字符号
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" 网址
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:textColorHint设置提示hint信息的颜色。
//数值类型
android:inputType="number" 数字
android:inputType="numberSigned" 带符号数字格式
android:inputType="numberDecimal" 带小数点的浮点格式
android:inputType="phone" 拨号键盘
android:inputType="datetime" 时间日期
android:inputType="date" 日期键盘
android:inputType="time" 时间键盘
最新文章
- XVI Open Cup named after E.V. Pankratiev. GP of SPB
- 关于AJAX 的交互模型、交互流程及代码示范
- js动画之平抛运动
- Android成长日记-ViewPager的使用
- Codeforces Beta Round #6 (Div. 2 Only)
- Sporadic IOException: Failed to persist config
- java堆内存和栈内存的处理
- sqlserver同步后在不重新初始化快照的情况下新增表
- 换个角度说工作单元(Unit Of Work):创建、持有与API调用
- PYTHON实现HTTP摘要认证(DIGEST AUTHENTICATION)
- redis 入门
- css笔记——区分css3中的transform transition animation
- ios开发中MVC模式的理解
- windows多线程同步总结
- MySQL 数据库在 Windows 下修复 only_full_group_by 的错误
- Spark 集成开发
- hybrid cordova+vue开发APP(一) 环境搭建
- 55 Django静态文件配置
- MySQL--Workbench表及表种数据导出
- 读书笔记---改善c#编程的157个建议
热门文章
- 剑指Offer:面试题25——二叉树中和为某一值的路径(java实现)
- 【练习】数据移动---parfile导出表中指定行:
- IOS 关于扬声器和听话筒的设置 ----自己试验过的,可以达到扩音器和听筒播放的效果
- python与正则表达式:re模块详解
- com.microsoft.sqlserver.jdbc.SQLServerException: 到主机 的 TCP/IP 连接失败。 java.net.ConnectException: Connection refused: connect
- webform repeater控件
- HIS与CIS的区别与联系
- Nginx 反向代理、负载均衡、页面缓存、URL重写以及读写分离
- error C2259: 'CException' : cannot instantiate abstract class
- MFC的BeginWaitCursor和EndWaitCursor函数