Code example for GridView

Methods: setHorizontalSpacingsetNumColumnssetVerticalSpacing

0
 
		return v;
	} 
 
	private void adjustGridView() { 
		gvMain.setNumColumns(2);
		// gvMain.setColumnWidth(80); 
		gvMain.setVerticalSpacing(5);
		gvMain.setHorizontalSpacing(5);
		// gvMain.setStretchMode(GridView.NO_STRETCH); 
	} 
 
	@Override 
	public void onStart() { 
		super.onStart(); 
		Log.d(TAG, "menu: onStart()");
	} 
 
	@Override 
	public void onResume() {