java - Invalid start tag -
For one of my Java projects, I get an "invalid start tag linear layout" in my Java project. Eclipse by
& lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; LinearLayout xmlns: Android = "http://schemas.android.com/apk/res/android" android: id = "@ id / selectSuitLayout" Android: layout_width = "275dp" Android: layout_height = "wrap_content" Android: Orientation = "Vertical" Android: layout_gravity = "top" & gt; & Lt; TextView Android: id = "@ + id / selectSuitText" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" android: text = "select a suit." Android: Textaces = "16sp" Android: layout_margin = "5dp" Android: Text Collar = "#FFFFF" /> & Lt; Spinner Android: id = "@ + id / suitpinner" Android: layout_width = "fill_parent" Android: layout_height = "wrap_content" Android: drawSeelectionOnTop = "true" /> & Lt; Button Android: id = "@ + id / okButton" Android: layout_width = "125dp" Android: layout_height = "wrap_content" Android: text = "OK" /> & Lt; / LinearLayout & gt;
Your xml seems right to me.
Try checking if xml is in the correct directory:
Put your xml in the correct directory
res / layout after making your project clean and / or>
Comments
Post a Comment