黄色警告: This text field does not specify an inputType or a hint
来源:互联网 发布:最初以太网的数据是 编辑:程序博客网 时间:2024/05/02 00:07
在安卓项目开发中,在设计项目样式使用到EditText这个标签时,有的时候会有警告:This text field does not specify an inputType ora hint
原因是:
EditText需要指定默认输入类型
在标签中加入android:inputType=XXX即可,下面列出XXX的可选值与作用。数值类型:
0 0
- 黄色警告: This text field does not specify an inputType or a hint
- 用Eclipse编译android程序时,出现警告This text field does not specify an inputType or a hint
- This text field does not specify an inputType or a hint
- (EditText)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
- 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
- ORA-14400: inserted partition key does not map to any partition
- memcached与redis对性能对比
- Java多线程系列--“JUC集合”04之 ConcurrentHashMap
- 学之者生,用之者死——ACE历史与简评
- LA 5713 - Qin Shi Huang's National Road System(HDU 4081) MST
- 黄色警告: This text field does not specify an inputType or a hint
- SGU 167 I-country(DP)
- protobuf使用方法(c++为例)
- Programming Collective Intelligence
- CentOS-6.5 最新版出来了。种子
- 阿弥陀佛大心咒修持法
- 小白dp 10626 - Buying Coke
- 文字探险游戏,基于cmd显示.花了3个小时,技术非常不成熟
- Mac.OS.X.Programming