界面设置中 TableRow提示 This TableRow layout or its TableLayout parent is useless,搞不清那里出了毛病,程序也运行不起来,感觉是界面的问题,不知道界面能调试吗??

界面代码如下。
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@id/layout_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/main_background"
android:orientation="vertical" >
<RelativeLayout
android:id="@id/titlebar1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bar" >
<Textview
android:id="@id/titlebar1_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10.0dip"
android:layout_marginTop="7.0dip"
android:text="@string/titlebar1_title"
android:textSize="23.0sp" />
</RelativeLayout>
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:text="@string/titlebar1_label"
android:textColor="@drawable/white"
android:textSize="20sp"
android:textStyle="bold" />
<EditText
android:id="@id/edit1"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:inputType="text" />
</TableRow>
</TableLayout>
<ListView
android:id="@id/listView1"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</ListView>
</LinearLayout>
java文件
public class OreActivity extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_ore);
}
}
------解决方案--------------------
android:stretchColumns="1"
这个么?