Code example for TableLayout

Methods: removeAllViews

	 * Clear content. 
	public void clearContent(){ 
		mHasContent = false;
	 * Add a departure. 
	 * @param vehicleIcon the vehicle icon 
	 * @param vehicleNumber the vehicle number 
	 * @param direction the direction 
	 * @param minutesLeft the minutes left 
	public void addDeparture(Bitmap vehicleIcon, String vehicleNumber, String direction, String minutesLeft){
		// wrapper layout for the departure icon (a line in TableLayout) 
		LinearLayout llIcon = new LinearLayout(mContext);
Stop searching for code, let great code find you!  Add Codota to your java IDE