1

TableLayout not being displayed when added dynamically

view story
linux-howto

http://stackoverflow.com – I'm trying to parse an XML and display its contents in table layout. I'm adding rows and columns dynamically, when execute instead of displaying table, it shows a blank screen. This is my xml file. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".CaptureActivity" > <ScrollView android:id="@+id/ScrollView_maintable" android:layout_width="match_parent" android:layout_height="400dp" > <TableLayout android:id="@+id/ (HowTos)