android中将tablerow用4个TextView均分
android中将tablerow用4个TextView均分怎么实现?这样为什么不对?出现不均匀的4份
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TextView
android:layout_width="wrap_content"
android:layout_height="80dp"
android:layout_weight="1"
android:gravity="center"
android:textSize="20sp"
android:text="@string/tv1" />
<TextView
android:id="@+id/tv_1"
android:layout_width="wrap_content"
android:layout_height="80dp"
android:textSize="20sp"
android:gravity="center"
android:layout_weight="1"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="80dp"
android:layout_weight="1"
android:gravity="center"
android:text="@string/tv2"
android:textSize="20sp"/>
<TextView
android:id="@+id/tv_2"
android:layout_width="wrap_content"
android:layout_height="80dp"
android:layout_weight="1"
android:textSize="20sp"
android:gravity="center"/>
</TableRow>