Android tablelayout中的属性布局\u span不可访问

Android tablelayout中的属性布局\u span不可访问,android,android-layout,Android,Android Layout,我将eclipse与Java1.6和Android3.2SDK一起使用 在第一行的文本视图中,我试图使用布局,但它不在那里 什么会导致这样的问题 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" > <Tab

我将eclipse与Java1.6和Android3.2SDK一起使用 在第一行的文本视图中,我试图使用布局,但它不在那里 什么会导致这样的问题

<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
     >
    <TableRow
        android:layout_width="match_parent"
        android:layout_height="wrap_content" >

        <TextView
            android:layout_width="0dp"
            android:layout_weight="1"/>
    </TableRow>
    <TableRow
        android:layout_width="match_parent"
        android:layout_height="wrap_content" >

        <TextView
            android:layout_width="0dp"
            android:layout_weight="1"/>
        <TextView
            android:layout_width="0dp"
            android:layout_weight="1"/>
    </TableRow>

</TableLayout>


我遇到了完全相同的问题:)但是可以解决它尝试用另一种不同于TableLayout的布局重新设计布局不重要的是它不在那里。你可以使用android:layout\u span=“”,它会正常工作