0
나는 서버에서 얻을 XML을 가지고이 같은 HTML 테이블이 있습니다HTML 테이블
<table>
<tr>
<td colspan="4">$kolumn1$</td>
</tr>
<tr>
<td colspan="2">$kolumn2$</td>
<td>$kolumn3$</td>
<td>$kolumn4$</td>
</tr>
<tr>
<td>$kolumn5$</td>
<td colspan="3">$kolumn1$</td>
</tr>
</table>
을 지금, 나는이 같은 안드로이드 TableLayout을을 만들려면 :
<TableRow
android:layout_width="fill_parent"
android:layout_height="match_parent" >
<TextView
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_span="4" />
</TableRow>
<TableRow
android:layout_width="fill_parent"
android:layout_height="match_parent" >
<TextView
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_span="2" />
<TextView
android:layout_width="fill_parent"
android:layout_height="match_parent" />
<TextView
android:layout_width="fill_parent"
android:layout_height="match_parent" />
</TableRow>
<TableRow
android:layout_width="fill_parent"
android:layout_height="match_parent" >
<TextView
android:layout_width="fill_parent"
android:layout_height="match_parent" />
<TextView
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_span="3" />
</TableRow>
HTML 코드에서 TableLayout을 만드는 가장 좋은 방법은 무엇입니까?
당신은 심각한? – Anuj
예, 레이아웃에 사용할 수 있습니다. –