您的位置:首页 > 移动开发 > Android开发

Android------>TableLayout表格布局方式

2016-07-31 08:00 351 查看
















main.xml表格代码分析

<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TableRow>
<Button
android:text="Button11"
/>
<Button
android:text="Button12"
/>
<Button
android:text="Button13"
/>
</TableRow>
<TableRow>
<Button
android:text="Button21"
/>
<Button
android:layout_span="2"
android:text="Button23"
/>
</TableRow>

</TableLayout>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: