private void inflateEditText ( ) { LayoutInflater inflater = LayoutInflater . from ( getContext ( ) ) ; View view = inflater . inflate ( R . layout . edit_text_dialog , getRootView ( ) , false ) ; getDialog ( ) . setView ( view ) ; View textInputLayoutView = view . findViewById ( R . id . text_input_layout ) ; textInputLayout = textInputLayoutView instanceof TextInputLayout ? ( TextInputLayout ) textInputLayoutView : null ; View editTextView = view . findViewById ( R . id . edit_text ) ; editText = editTextView instanceof EditText ? ( EditText ) editTextView : null ; adaptHint ( ) ; adaptErrorColor ( ) ; adaptHelperTextColor ( ) ; adaptHelperText ( ) ; adaptText ( ) ; validate ( ) ; adaptTextChangedListener ( ) ; adaptFocusChangeListener ( ) ; }
Inflates the dialog s edit text widget .