Sorry for my English)
My class extends TabActivity
. How remove divider, which place after TabWidget
? or how setup color for it开发者_StackOverflow中文版?
Put android:tabStripEnabled="false"
in our <TabWidget />
You need to write you own Tab Indicator selector. For this you can google for custom tab indicator or you can have a look in my post about Android tabs. I have written custom tabs so that you can customize your tab indicators. Here is a link to my post. You can also find useful link to customize your tab in the post.
I think this will help, as I myself used this. Try to reduce the margin of the frame layout. ex: android:layout_marginTop="-6px" put the code inside the line. AT least this worked for me.
Its Work for Me Very Nicely:
Apply a custom theme to your activity, and null out the android:windowContentOverlay attribute.
Define a theme in themes.xml:
<style name="YourTheme" parent="if you want">
...
<item name="android:windowContentOverlay">@null</item>
...
</style>
Apply the theme on your application or the activity in AndroidManifest.xml:
<application android:theme="@style/YourTheme"
... >
精彩评论