Reputation: 53
Sorry for my English)
My class extends TabActivity
. How remove divider, which place after TabWidget
? or how setup color for it?
Thanks!!
Upvotes: 1
Views: 3360
Reputation: 62401
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"
... >
Upvotes: 0
Reputation: 9106
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.
Upvotes: 1
Reputation: 5757
Put android:tabStripEnabled="false"
in our <TabWidget />
Upvotes: 6
Reputation: 37729
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.
Upvotes: 1