android XML文件有什么问题吗?

android XML文件有什么问题吗?,android,xml,Android,Xml,我一直在寻找错误很长时间,但找不到它。我已经在下面的代码中标记了错误。有人能解释一下吗? <TableLayout android:id = "@+id/TableLayout01" android:layout_width = "wrap_content" android:layout_height = "wrap_content> <TableRow> <==Here

我一直在寻找错误很长时间,但找不到它。我已经在下面的代码中标记了错误。有人能解释一下吗?

    <TableLayout 
        android:id = "@+id/TableLayout01"
        android:layout_width = "wrap_content"
        android:layout_height = "wrap_content>

        <TableRow>          <==Here eclipse marks an error
            <TextView
                android:id = "@+id/TextView01"
                android:layout_widht = "wrap_content"
                android:layout_height = "wrap_content"
                android:text = "User:" />
            <EditText
                android:id = "@+id/EditText01"
                android:text = "admin"
                android:layout_width = "fill_parent"
                android:scrollHorizontally="true" />
        </TableRow>
    </TableLayout>

</LinearLayout>

错误非常准确地告诉您问题:

    <TableLayout 
        android:id = "@+id/TableLayout01"
        android:layout_width = "wrap_content"
        android:layout_height = "wrap_content>

        <TableRow>          <==Here eclipse marks an error
            <TextView
                android:id = "@+id/TextView01"
                android:layout_widht = "wrap_content"
                android:layout_height = "wrap_content"
                android:text = "User:" />
            <EditText
                android:id = "@+id/EditText01"
                android:text = "admin"
                android:layout_width = "fill_parent"
                android:scrollHorizontally="true" />
        </TableRow>
    </TableLayout>

</LinearLayout>

与元素类型“TableLayout”关联的属性“android:layout_height”的值不能包含“Oops,我只注意到
”@MarkZar有时会发生在我们所有人身上。:)
   <TableLayout 
        android:id = "@+id/TableLayout01"
        android:layout_width = "wrap_content"
        android:layout_height = "wrap_content>  <==== MISSING A QUOTE!

        <TableRow>          <==Here eclipse marks an error
            <TextView
                android:id = "@+id/TextView01"
                android:layout_widht = "wrap_content"
                android:layout_height = "wrap_content"
                android:text = "User:" />
            <EditText
                android:id = "@+id/EditText01"
                android:text = "admin"
                android:layout_width = "fill_parent"
                android:scrollHorizontally="true" />
        </TableRow>
    </TableLayout>

</LinearLayout>