Android TableRow没有';与布局不匹配

Android TableRow没有';与布局不匹配,android,xml,button,tablelayout,tablerow,Android,Xml,Button,Tablelayout,Tablerow,我试图制作一个tableLayout的行来填充整个布局的宽度,但它保持与内容匹配的状态 <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/nyc_skyline" <TableLayout

我试图制作一个tableLayout的行来填充整个布局的宽度,但它保持与内容匹配的状态

    <LinearLayout
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/nyc_skyline"

    <TableLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <TableRow
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_margin="6dp">

            <ImageView
                android:layout_width="30dp"
                android:layout_height="30dp"
                android:id="@+id/menu_btn"
                android:src="@drawable/lines7" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textAppearance="?android:attr/textAppearanceLarge"
                android:text="text"
                android:id="@+id/bubble_header"
                android:fontFamily="sans-serif-light" />

            <ImageView
                android:layout_width="30dp"
                android:layout_height="30dp"
                android:id="@+id/imageView2"
                android:src="@drawable/ic_gps_fixed_black_48dp"
                android:focusable="false"
                android:longClickable="false" />
        </TableRow>
    </TableLayout>
</LinearLayout>
删除此项

android:layout\u margin=“6dp”
删除此项


android:layout\u margin=“6dp”

我删除了它,但什么也没发生我删除了它,但什么也没发生