Thursday, January 23, 2014

error XML parsing: not well-formed (invalid token).


            
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_width = "fill_parent"
android: layout_height = "wrap_content"
android: text = "Gender:" />

android: layout_width = "fill_parent"
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_width = "fill_parent"
android: layout_height = "wrap_content"
android: text = "Age:" />

android: layout_width = "fill_parent"
android: layout_height = "wrap_content"
android: inputType = "number"
android: layout: id = "@ + id / edtAge" / / here the error appears red cross at the wrong
titleandroid: text = "" />

No comments:

Post a Comment