Code example for TableRow

Methods: addView

0
		//image:add 
	//	addView(ivLogo, Params); 
		 
		//vertical layer for text 
	//	Params = new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT); 
		TableRow trName= new TableRow(context);
		_nameLabel= new TextView(context);
		_nameLabel.setTextSize(16);
		_nameLabel.setTypeface(Typeface.DEFAULT, Typeface.BOLD);
		_nameLabel.setText(new String("Name:"));	
		 
		_nameEdit = new EditText( context );
		_nameEdit.setTextSize(16);
		_nameEdit.setTypeface(Typeface.DEFAULT, Typeface.NORMAL );
		_nameEdit.setText(new String("\t")+actor.name());
		        
		trName.addView(_nameLabel, 0);
		trName.addView(_nameEdit, 1);
		  
		addView(trName);
	} 
	 
	public BaseActor save() {