如果没记错的话,那是tab里面自带的分割线,不想要的话,设置一下颜色背景就行了。tabWidget.setBackgroundColor(Color.WHITE);
Tabhost已经不推荐使用了,现在一般都使用FragmentTabhost(3.0之后),所以你还是使用后者吧
得到tabWidget之后,直接设置其分割线的Drawable为null,我的工程这般就可以了
代码修改:
tabWidget.setDividerDrawable(null);
布局修改:
<TabWidget android:id="@android:id/tabs"
android:layout_width="match_parent"
android:layout_height="64dp"
android:divider="@null"