今天用eclipse编写android4.4W的项目,在XML中用到了EditText组件来写文本框,结果出现了黄色感叹号,还出现一句
This text field does not specify an inputType or a hint
将EditText写成就可以了
<EditText android:id="@+id/editText02" android:hint="@null" android:layout_width="fill_parent" android:layout_height="wrap_content" />