private void obtainFinishButtonText ( ) { CharSequence text ; try { text = ThemeUtil . getText ( this , R . attr . finishButtonText ) ; } catch ( NotFoundException e ) { text = getText ( R . string . finish_button_text ) ; } setFinishButtonText ( text ) ; }
Obtains the text of the finish button from the activity s theme .