<?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="555"
android:layout_span = "3"/> <!-- 想问一下大侠们,layout_span这个属性为什么没有啊,是哪里出问题了么? -->
</TableRow></TableLayout>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TableRow >
<Button android:text="555"
android:layout_span = "3"/> <!-- 想问一下大侠们,layout_span这个属性为什么没有啊,是哪里出问题了么? -->
</TableRow></TableLayout>
android:layout_span = "3"/>
怎么会写在Button里呢.应写在TableRow里吧?
楼主所说的"属性为什么没有"是什么意思?IDE不能自动补完?还是编译不过?还是运行起来没有效果?
楼主的Table_row只有一行?一行有什么好合并的?
不要相信IDE啊,编译能过,能生成APK的话跑一下看看. 我现在没有运行环境,不能帮你验证. 但是我的IDE也不能自动补完的.