android:orientation="horizontal"
这里是水平布局了
<TextView
android:id="@+id/txt"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="输入SQL命令"
/>
而且你这个TextView android:layout_width="fill_parent" 了 所以其他控件全部在这个控件的右边了
所以你看不了
这里是水平布局了
<TextView
android:id="@+id/txt"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="输入SQL命令"
/>
而且你这个TextView android:layout_width="fill_parent" 了 所以其他控件全部在这个控件的右边了
所以你看不了
水平的,你后面的几个控件都显示不出来,只显示了第一个fill_parent的控件。
改成垂直:
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="输入SQL命令"
/>