Code example for ActionBar

Methods: getSelectedNavigationIndex

0
    public int getNavigationMode() { 
        return bar.getNavigationMode();
    } 
 
    public int getSelectedNavigationIndex() { 
        return bar.getSelectedNavigationIndex();
    } 
 
    public CharSequence getTitle() {
        return bar.getTitle();
    } 
 
    public void hide() { 
        bar.hide();
    } 
 
    public boolean isShowing() { 
        return bar.isShowing();
    } 
 
    public void setDisplayOptions(int options) {