Code example for TableLayout

Methods: getChildAt

0
	} 
	 
	@Override 
	public View getSelectedView()
	{ 
		return mTableLayout.getChildAt(mSelectedPosition);
	} 
	 
	@Override 
	public void setSelection(int position)
	{ 
		mSelectedPosition = position;
	} 
	 
	@Override 
	protected void onLayout(boolean changed, int left, int top, int right,
			int bottom)
	{ 
		super.onLayout(changed, left, top, right, bottom);
		 
		removeAllViewsInLayout();