(EditText)This text field does not specify an inputType or a hint
来源:互联网 发布:淘宝前100名半价可信吗 编辑:程序博客网 时间:2024/06/12 01:37
在安卓项目开发中,在设计项目样式使用到EditText这个标签时,有的时候会有警告:This text field does not specify an inputType or a hint
原因是:
EditText需要指定默认输入类型
在标签中加入android:inputType=XXX即可,下面列出XXX的可选值与作用。数值类型
如:
<EditText
android:inputType="number"
/>
android:inputType="number"
/>
- (EditText)This text field does not specify an inputType or a hint
- EditText:This text field does not specify an inputType or a hint
- This text field does not specify an inputType or a hint
- Android This text field does not specify an inputType or a hint 解决
- 关于Android的This text field does not specify an inputType or a hint 问题
- This text field does not specify an inputType or a hint
- android 在布局文件中报错:This text field does not specify an inputType or a hint
- This text field does not specify an inputType or a hint
- This text field does not specify an inputType or a hint
- This text field does not specify an inputType or a hint
- 黄色警告: This text field does not specify an inputType or a hint
- This text field does not specify an inputType or a hint
- This text field does not specify an inputType or a hint
- This text field does not specify an inputType or a hint
- This text field does not specify an inputType or a hint
- android学习记录(This text field does not specify an inputType or a hint)
- This text field does not specify an inputType or a hint
- Android:This text field does not specify an inputType or a hint
- ssh集成步骤1
- C++ 模版中的一些稀奇古怪的技巧
- SQLserver基本脚本语句 (整理)
- BIT寒假练习-2013__1008:Putting Apples
- ssh集成2
- (EditText)This text field does not specify an inputType or a hint
- JQuery 发送Json格式数据
- 跟我一起写 Makefile
- Oreacle 11g IMPDP/EXPDP 参数使用小记
- activeMQ,spring的jmstemplate简单例子
- 转载_LPC2000系列ARM处理器重映射原理的分析与实现
- MySQL 线上服务器架构调整记事(零)
- OPENGL中的帧缓存区概述
- POJ1573《Robot Motion》方法:模拟