Code example for ActionBar.Tab

Methods: setIcon

0
		return this;
	} 
 
	@Override 
	public CompatTab setIcon(int resId) {
		tab.setIcon(resId);
		return this;
	} 
 
	@Override 
	public CompatTab setFragment(Fragment fragment) {
		this.fragment = fragment;
		return this;
	} 
 
	@Override 
	public CharSequence getText() {
		return tab.getText();
	} 
 
	@Override