0
私は1つの画面で3-4の表を使用したいが、 "fill_parent"を使って画面全体に収まらない。その表のテキストのサイズのみで表示されます。誰も私を導くことができますか? 私は次のコードを使用しました。それに応じてフルスクリーンサイズにアクセスするUIで異なるテーブルを使用する方法は?
<TableLayout android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="0"
android:id="@+id/Table1"
>
<TextView android:layout_height="fill_parent"
android:id="@+id/TextView01"
android:background="#00bfff"
android:text="@string/hello"
android:layout_width="fill_parent">
</TextView>
</TableLayout>
<TableLayout android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:stretchColumns="0"
android:layout_below="@id/Table1"
android:id="@+id/Table2"
>
<TextView android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/TextView2"
android:background="#f4a460"
android:text="Text2" >
</TextView>
</TableLayout>
<TableLayout android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:stretchColumns="0"
android:id="@+id/Table3"
android:layout_below="@id/Table1"
android:layout_toRightOf="@id/Table2"
>
<TextView android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/TextView2"
android:background="#b03060"
android:text="Text3" >
</TextView>
</TableLayout>
ここ
働いていない男....すでにこの小さな変化 – ruturaj