I use an ActionBar
in my FragmentActivity
(min SDK = 14) and I need to remove the active Tab indicator (see picture below) since I have my own icons for indicating which Tab is active. I've been reading a lot of style-related stuff, found no solution however. Any suggestions how this indicator can be completely removed?
SOLVED
The working solution is below:
<style name="ActionBarTabStyle" parent="@android:style/Widget.Holo.ActionBar.TabView">
<item name="android:background">@android:color/transparent</item>
</style>
and then adding to the Activity style:
<item name="android:actionBarTabStyle">@style/ActionBarTabStyle</item>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…