Code example for TableLayout

Methods: setColumnStretchable

0
	private ArrayList<AbsControl> ctlList=new ArrayList<AbsControl>();
 
	 
	@Override 
	public View drawnView(Activity activity,Integer parentid,Integer id) {
		this.formLayout=new TableLayout(activity);
//		this.formLayout.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT,ViewGroup.LayoutParams.FILL_PARENT)); 
		this.formLayout.setColumnStretchable(1, true);
		this.drawnControl(activity);		
		return this.formLayout;
		 
		 
	} 
	 
	private void drawnControl(Activity activity)
	{ 
		if("1".equals(this.para.getValue("code").toString()))
		{ 
			if(para.containsKey("title")) 
				activity.setTitle(this.para.getValue("title").toString());
			BinList rows=(BinList)(this.para.getValue("rows"));