Code example for TableLayout

Methods: setColumnStretchable

0
	 
	public void onCreate(Bundle savedInstanceState) {
		 
	    super.onCreate(savedInstanceState);
		 
		TableLayout tl=new TableLayout(this);
		 
		tl.setColumnStretchable(1, true);
		 
			//get and display name 
		 
		readWebpage(tl);
			 
		//render 
		setContentView(tl);
		 
		//View v = findViewById(R.id.main); 
		 
	    //setContentView(R.layout.main); 
	}