Code example for AbsListView.LayoutParams

0
	 */ 
	@Override 
	public View getView(int position, View convertView, ViewGroup parent) { 
		CheckBoxView cv = new CheckBoxView(getItem(position), mContext, 
				mLabeler, mOnItemClickListener, position); 
		LayoutParams params = new LayoutParams(LayoutParams.FILL_PARENT, 
				LayoutParams.FILL_PARENT); 
		cv.setLayoutParams(params); 
		return cv; 
	} 
 
	/** 
	 * Sets the click listener for the object's line. 
	 *  
	 * @param itemClickListener 
	 *            The listener on the object's line. 
	 */ 
	public void setOnCheckBoxClickListener(OnItemClickListener itemClickListener) { 
		mOnItemClickListener = itemClickListener; 
	}