code: private void initializePasswordEditText() {
          passwordEditText = (PasswordEditText) findViewById(R.id.password_edit_text);
          passwordEditText.addValidator(Validators
                  .minLength(this, R.string.password_min_length_validator_error_message,
                          MIN_PASSWORD_LENGTH));
          passwordEditText.addValidator(Validators
                  .maxLength(this, R.string.max_length_validator_error_messsage, MAX_CHARACTERS));
          passwordEditText.addValidator(
                  Validators.noWhitespace(this, R.string.no_whitespace_validator_error_message));
          passwordEditText.addAllConstraints(Constraints.minLength(SUGGESTED_PASSWORD_LENGTH),
                  Constraints.containsLetter(), Constraints.containsNumber(),
                  Constraints.containsSymbol());
          passwordEditText.addAllHelperTextIds(R.string.password_edit_text_helper_text0,
                  R.string.password_edit_text_helper_text1, R.string.password_edit_text_helper_text2,
                  R.string.password_edit_text_helper_text3, R.string.password_edit_text_helper_text4);
          passwordEditText.addAllHelperTextColorIds(R.color.password_edit_text_helper_text_color0,
                  R.color.password_edit_text_helper_text_color1,
                  R.color.password_edit_text_helper_text_color2,
                  R.color.password_edit_text_helper_text_color3,
                  R.color.password_edit_text_helper_text_color4);
      }
docs: Initializes the edit text, which allows to enter a password.