public void setTitle ( CharSequence title ) { if ( mConstruct != null && ! mConstruct . getDesign ( ) . isMaterial ( ) ) { // Modify the dialog's title element getDialog ( ) . setTitle ( title ) ; } else { if ( mTitle != null ) { mTitle . setText ( title ) ; } } }
Modify the title of the dialog no matter what style it is