<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:stretchColumns="2">
<TableRow >
<TextView
android:text="first"
android:padding="3dip"
android:background="@android:color/black"/>
<TextView
android:text="second"
android:padding="3dip"
android:background="@android:color/white"/>
<TextView
android:text="third"
android:padding="3dip"
android:background="@android:color/holo_green_light"/>
</TableRow>
</TableLayout>
Android学习:TableLayout使用
最新推荐文章于 2019-08-04 16:26:10 发布