This is the code I am using to set the divider between by tabs in the tab host.
mTabHost.getTabWidget().setDividerDrawable(R.drawable.tabdivider);
But it does not show up in the emulator. Searching around on SO led me to many posts regarding this but I have not been able to come to a perfect solution to this.
Any help/suggestion in this regard will be really helpful.
TabHost is deprecated in android api level 11 onwards.
Try using ActionBar.
For more details, see this.
UPDATE:
Please see this, for using
setDrawableinICS.UPDATE:
If you want to make use of tabs on all android versions, you can use the following code:
This should be placed in your
onCreate()method.