• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Table Layout Problem, Please Help.

I am trying to add a Table Layout under a picture but it will not show up.
Code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_height="fill_parent" android:orientation="vertical" android:layout_width="wrap_content" android:layout_gravity="center">
<ScrollView android:id="@+id/scrollView1" android:layout_width="fill_parent" android:layout_height="wrap_content">
    <LinearLayout android:layout_width="fill_parent" android:id="@+id/linearLayout1" android:layout_height="fill_parent">
        <ImageView android:src="@drawable/item" android:layout_width="fill_parent" android:layout_gravity="center" android:layout_height="wrap_content" android:id="@+id/imageView1" android:scaleType="center"></ImageView>


<TableLayout android:stretchColumns="1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/tableLayout1">

<TableRow>
        <TextView
            android:layout_column="1"
            android:text="Test"
            android:padding="3dip" />
        <TextView
            android:text="TEst"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

</TableLayout>


    </LinearLayout>
</ScrollView>

    
    </LinearLayout>
 
Back
Top Bottom