How To Completely Remove Tab Indicator In An Actionbar
Solution 1:
From How to change the color of tab 'underbar' in actionbarsherlock, looks like the indicator is a part of a drawable. I haven't tried that but you probably can change @drawable/tab_selected and @drawable/tab_selected_focused to your own drawable. (Make it plain if you don't want the indicator.) Hope this helps.
Edit:
NOTE: HAVEN'T TESTED
You can try following the answer and change from tab_selected_focused to tab_unselected_focused and also from tab_selected to tab_unselected.
<!-- Non focused states --><itemandroid:state_focused="false"android:state_selected="false"android:state_pressed="false"android:drawable="@drawable/tab_unselected" /><itemandroid:state_focused="false"android:state_selected="true"android:state_pressed="false"android:drawable="@drawable/tab_unselected" /><!-- Focused states --><itemandroid:state_focused="true"android:state_selected="false"android:state_pressed="false"android:drawable="@drawable/tab_unselected_focused" /><itemandroid:state_focused="true"android:state_selected="true"android:state_pressed="false"android:drawable="@drawable/tab_unselected_focused" />
Edit 2: You can try ActionbarStyleGenerator to style the Actionbar.
"How to: Use the UI to select colors for different items Once done click on "DOWNLOAD .ZIP" The ZIP file contains resource files that you have to copy in your project res/layout and res/drawableXXXX folders"
Post a Comment for "How To Completely Remove Tab Indicator In An Actionbar"