Code example for TableRow.LayoutParams

0
	 
	private static final TableLayout.LayoutParams TABLE_PARAM = new TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT);
	 
//	private static final TableRow.LayoutParams ROW_PARAM=new TableRow.LayoutParams(TableRow.LayoutParams.MATCH_PARENT, TableRow.LayoutParams.WRAP_CONTENT); 
	 
	private static final android.view.ViewGroup.LayoutParams ROW_PARAM = new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);
	 
	private static final TableRow.LayoutParams ROW_CHILD_PARAM=new TableRow.LayoutParams(0, TableRow.LayoutParams.WRAP_CONTENT,1);
	 
	private ArrayList<TableRow> rowList;
	 
    @Override 
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
         
        this.tl_data = (TableLayout) super.findViewById(R.id.tl_data);
         
        this.rowList = new ArrayList<TableRow>();
                 
    }