Code example for AbsoluteLayout

Methods: setVisibility

0
			Log.e("nebula-gps", "AddGeoGroup.onCreate: " + e.getMessage());
		} 
	} 
 
	public void doShowGroup(View v) {
		spatial.setVisibility(View.INVISIBLE);
		group.setVisibility(View.VISIBLE);
	} 
 
	public void doShowSpatial(View v) {
		group.setVisibility(View.INVISIBLE);
		spatial.setVisibility(View.VISIBLE);
	} 
 
	public void doAddGroup(View v) {
		if (groupName.length() == 0) {
			Toast.makeText(getApplication(), "Please fill Group Name",
					Toast.LENGTH_LONG).show();
			return; 
		}