@ Nullable protected View getEmailLabel ( ) { final String emailPrompt = dialogConfiguration . emailPrompt ( ) ; if ( emailPrompt != null ) { final TextView labelView = new TextView ( this ) ; labelView . setText ( emailPrompt ) ; return labelView ; } return null ; }
creates a email label view with resEmailPrompt as text