private void initializeFirstNameEditText ( ) { firstNameEditText = ( EditText ) findViewById ( R . id . first_name_edit_text ) ; firstNameEditText . addValidator ( Validators . minLength ( this , R . string . min_length_validator_error_message , MIN_NAME_LENGTH ) ) ; firstNameEditText . addValidator ( Validators . beginsWithUppercaseLetter ( this , R . string . begins_with_uppercase_letter_validator_error_message ) ) ; firstNameEditText . addValidator ( Validators . letter ( this , R . string . letter_validator_error_message , Case . CASE_INSENSITIVE , false , new char [ ] { ' ' } ) ) ; }
Initializes the edit text which allows to enter a first name .