我試圖定義一個EditText
但顯示這樣的警告:警告上的EditText
This text field does not specify an inputType or a hint.
在main.xml
的代碼是:
<EditText android:id="@+id/input"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/textTest" />
我怎樣才能解決呢?
有關的inputType的更多信息,請查看這些文檔:http://developer.android.com/reference/android/widget/TextView.html#attr_android:inputType – summea 2012-02-24 18:45:35