private void showGlobalContextActionBar ( ) { ActionBar actionBar = getActionBar ( ) ; actionBar . setDisplayShowTitleEnabled ( true ) ; actionBar . setTitle ( R . string . app_name ) ; }
Per the navigation drawer design guidelines updates the action bar to show the global app context rather than just what s in the current screen .