Code example for ActionBar

Methods: setTitle

0
            } 
        }).create().show(); 
    } 
 
    public void setTitle(String title) {
        if (mActionBar != null) mActionBar.setTitle(title);
    } 
 
    public void setTitle(int titleId) {
        if (mActionBar != null) mActionBar.setTitle(titleId);
    } 
 
    public void setSubtitle(String title) {
        if (mActionBar != null) mActionBar.setSubtitle(title);
    } 
 
    public void setNavigationMode(int mode) {
        if (mActionBar != null) mActionBar.setNavigationMode(mode);
    } 
 
    public int getHeight() {