I want to align the item on respective column title,here is what happen,is there a way to align this or do i need to code it manually thanks
Name Hotness
Yan 10
My xml code
<TableLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<TableRow>
<TextView
android:layout_width="fill_parent" //this is my column 1 which Name
android:layout_weight="1"
android:layout_height="fill_parent"
android:text="Names" >
</TextView>
<TextView
android:layout_width="fill_parent" //the column 2 which is Hotness
android:layout_weight="1"
android:layout_height="fill_parent"
android:text="Hotness" >
</TextView>
</TableRow>
</TableLayout>
<TextView
android:id="@+id/tvSqlInfo" //to save on the database
android:layout_width="fill_parent"
android:layout_weight="1"
android:layout_height="fill_parent"
android:text="get info" >
</TextView>
</LinearLayout>