Code example for TableLayout

Methods: removeAllViews

	 * Clear content of this dialog. 
	public void clearContent(){ 
		mHasContent = false;
	 * Add a player and his used tickets to the TableLayout. 
	 * @param playerIconId the id of the players icon 
	 * @param playername the players name 
	 * @param usedTicketIcons the used ticket icons 
	public void addPlayer(int playerIconId, String playername, ArrayList<Bitmap> usedTicketIcons){
		// wrapper layout for the players icon (a line in TableLayout) 
		LinearLayout llIcon = new LinearLayout(mContext);
    	llIcon.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.FILL_PARENT));