<ScrollView android:layout_width="fill_parent"
android:layout_height="wrap_content" xmlns:android="http://schemas.android.com/apk/res/android">
<HorizontalScrollView android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TableLayout android:id="@+id/test_table"
android:layout_width="match_parent" android:layout_height="fill_parent"
android:orientation="horizontal">
<TableRow android:id="@+id/column_01" android:layout_height="wrap_content"
android:orientation="vertical">
<TextView android:id="@+id/column_01_header"
android:layout_height="match_parent" android:layout_width="wrap_content"
android:text="Column 01 Header" />
</TableRow>
<TableRow android:id="@+id/column_02" android:layout_height="wrap_content"
android:orientation="vertical">
<TextView android:id="@+id/column_02_header"
android:layout_height="match_parent" android:layout_width="wrap_content"
android:text="Column 02 Header" />
</TableRow>
</TableLayout>
</HorizontalScrollView>
</ScrollView>
La sortie est (verticale)TableLayout Orientation problème
Column Header 01
Column Header 02
Mais je veux une sortie comme (horizontal)
Column Header 01 Column Header 02
Ajouter seconde TextView (column_02_header) dans la même ligne de table. –