I would like to remove the spacing between tabwidgets. By default there is around 1px spacings between tabs. I know some apps like foursquare or posterous are able to remove it. How is the code to do this would look like? I am using 2.3 API.
Thank you for your help
TabWidget android:showDividers="none"
I solve this same problem with this line of code:
You can use getTabHost().getTabWidget().setDividerDrawable(R.drawable.empty_divider) method, where R.drawable.empty_divider simple shape with 0px size, such as
If your build target is Honeycomb onwards, you may use the following code.
You can add android:showDividers="none" to Layout XML