I want to set text in action bar tab dynamically. Showing that the feature is not available. How to do that? i had changed the disable tab icon dynamically as you can see in the image in the link
audioTab = actionBar.newTab();
actionBar.setIcon(mSectionsPagerAdapter.getIcon(i));
actionBar.setText(mSectionsPagerAdapter.getPageTitle(i));
actionBar.setTabListener(this);
actionBar.addTab(audioTab);
//changing icon dynamically
audioTab.setIcon(R.drawable.audio_disabled);
videoTab.setIcon(R.drawable.video_disabled);