Is it meaning that you can build a table row with an empty column ?
I want to do a TableLayout like this :
+--------------+---------------------+
+ *Nothing* + LinearLayout +
+------------------------------------+
+ LinearLayout + *Nothing* +
+--------------+-----------开发者_Python百科----------+
Is it possible with index property ?
TableRow topTableRow = new TableRow(context);
topTableRow.addView(xAxisScrollView, 1);
addView(topTableRow);
TableRow bottomTableRow = new TableRow(context);
bottomTableRow.addView(yAxisScrollView, 0);
addView(bottomTableRow);
As you can read in the documentation, it should be possible. But I would just try it. It's done in 2 minutes ;)
精彩评论