请问如何在 Android 中动态的添加行断点呢?
TableRow tr5 = new TableRow(this);
tr5.setLayoutParams(new LayoutParams(
LayoutParams.WRAP_CONTENT,
LayoutParams.WRAP_CONTENT));
TextView b5 = new TextView(this);
b5.setLayoutParams(new LayoutParams(
LayoutParams.WRAP_CONTENT,
LayoutParams.WRAP_CONTENT));
b5.setText("Hello");
tr5.addView(b5);
tl.addView(tr5,new TableLayout.LayoutParams(
LayoutParams.WRAP_CONTENT,
LayoutParams.WRAP_CONTENT));