Code example for EditText

Methods: setVisibility

0
				return null; 
		    } 
 
			protected void onPreExecute() { 
			    loginButton.setVisibility(View.GONE);
				wasServicesBaseUrlText.setVisibility(View.GONE);
			    //wasServicesBaseUrlLabel.setVisibility(View.GONE); 
				//wasServicesBaseUrlText.setVisibility(View.GONE); 
				usernameLabel.setVisibility(View.GONE);
				usernameText.setVisibility(View.GONE);
				passwordLabel.setVisibility(View.GONE);
				passwordText.setVisibility(View.GONE);
				progressBar.setVisibility(View.VISIBLE);
			} 
 
			protected void onPostExecute(AlertDialog.Builder dialogBuilder) {
				if (dialogBuilder == null) {
			    	Intent storageTypeSelector = new Intent(thisActivity, StorageTypeSelectorActivity.class);
			    	startActivity (storageTypeSelector);
			    	finish();
				}