Code is as follows: pure handwritten copy is not online, then use the source-> format, but is reported this error, just getting started with andriod, hoping to find a solution.
android: layout_height = "wrap_content"
android: text = "Gender:" />
android: layout_height = "wrap_content"
android: inputType = "text"
android: layout: id = "@ + id / edtSex" / / here the error appears red cross at the wrong
titleandroid: text = "" />
android: layout_height = "wrap_content"
android: text = "Age:" />
android: layout_height = "wrap_content"
android: inputType = "number"
android: layout: id = "@ + id / edtAge" / / here the error appears red cross at the wrong
titleandroid: text = "" />
android: id = "@ + id / btnDoSug"
android: layout_width = "fill_parent"
android: layout_height = "wrap_content"
android: text = "XX" />
Reply:
This is a direct copy of you, right?
Reply:
This is purely my own handwriting, because just beginning to learn, one by one, knock yourself code is rather familiar feeling, can deeply some of the code is seen in a very old version of the pdf file (image format), the fundamental can not be copied
Reply:
The solution is:
android: layout: id = "@ + id / edtSex" / / here the error appears red cross at the wrong
titleChanged
android: id = "@ + id / edtSex"
No comments:
Post a Comment