如何在android 中添加行断点?

请问如何在 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));

添加下面的代码,动态生成一行后就会添加行断点

View m1 = new View(this);
  m1.setBackgroundColor(0xFFCDCDCD);
  m1.setLayoutParams(new LayoutParams(
     LayoutParams.FILL_PARENT,
     LayoutParams.WRAP_CONTENT));
  tl.addView(m1, new TableLayout.LayoutParams(1,1));