tablelayout - Android(Table layout) -


I'm trying to display a table layout. I have the following error in this:

  Java.lang.RuntimeException: Unable to start the activity ComponentInfo {com.budget1 / com.budget1.Report}: android.view.InflateException: Binary XML File line # 2: Enhancing class tablelayout error   

My XML code is:

  & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; TableLayout xmlns: Android = "http://schemas.android.com/apk/res/android" Android: layout_width = "fill_parent" Android: layout_height = "fill_parent" & gt; & Lt; Tablerow & gt; & Lt; Textview android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: text = "enter your name" & gt; & Lt; / TextView & gt; & Lt; Edittext android: layout_width = "150px" Android: layout_height = "wrap_content" & gt; & Lt; / Edittext & gt; & Lt; Button Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" android: text = "submit" /> & Lt; / Tablerow & gt; & Lt; Tablerow & gt; & Lt; Textview android: layout_width = "wrap_content" Android: layout_height = "wrap_content" Android: text = "two columns spanning" Android: layout_span = "2" & gt; & Lt; / TextView & gt; & Lt; Button Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" Android: text = "cancel" /> & Lt; / Tablerow & gt; & Lt; / Tablelayout & gt;   

Please help me ..

Android layout xml files Are characters sensitive? Use table layout, tableware, text view, editing text, etc.

Comments