Code example for ActionBar.Tab

Methods: setIcon

0
        return this;
    } 
 
    @Override 
    public CompatTab setIcon(int resId) {
        mTab.setIcon(resId);
        return this;
    } 
 
    @TargetApi(11) 
	@Override 
    public CompatTab setTabListener(CompatTabListener callback) {
        mCallback = callback;
        mTab.setTabListener(this);
        return this;
    } 
 
    @TargetApi(11) 
	@Override 
    public CharSequence getText() {
Stop searching for code, let great code find you!  Add Codota to your java IDE