80,349
社区成员
发帖
与我相关
我的任务
分享
<TableLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="0,1" >
<TableRow
android:layout_marginLeft="14dp"
android:layout_marginRight="14dp"
android:background="@color/test">
<Button
android:layout_gravity="left"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/Button01"
android:text="SHORT1"
android:background="@color/test1"
/>
<Button
android:layout_gravity="right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/Button02"
android:text="SHORT2"
android:background="@color/test2"
/>
</TableRow>
</TableLayout>