Code example for ActionBar.Tab

Methods: getIcon

0
        return mTab.getText();
    } 
 
    @Override 
    public Drawable getIcon() {
        return mTab.getIcon();
    } 
 
    @Override 
    public Object getTab() {
        return mTab;
    } 
 
    @Override 
    public CompatTabListener getCallback() { 
        return mCallback;
    } 
 
    @Override 
    public void onTabReselected(Tab tab, android.app.FragmentTransaction f) {
        FragmentTransaction ft = mActivity.getSupportFragmentManager().beginTransaction();