在activity_main.xml文件中添加了editText控件
android:id="@+id/edit_text"
android:hint="@the next"
android:inputType="text"
android:text="@string/string1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/textView"
android:layout_below="@+id/textView"
android:layout_marginTop="36dp"
android:ems="10" />
提示error: Error: No resource type specified (at ‘hint‘ with value [email protected])
以及Hardcoded string "the next", should use @string resource
error: No resource identifier found for attribute ‘backIcon’ in package三个错误
第三个错误属于自定义控件的命名空间问题,我贴出个链接自己去看http://blog.sina.com.cn/s/blog_6aefcbed01013rpc.html
当然我这之所以报错纯属我把inputType拼错了
原文:http://www.cnblogs.com/DZayxj520/p/6092142.html