How can the tab selection indicators be removed in the Android 3.0+ action bar?

I'm currently using an action bar in an application being developed in Android 4.0+. The action bar has been present since Android 3.0 and, when using the tabbed navigation style, has a 'selected tab' indicator shown.

See the tab indicator in this image:

I would like to remove this indicator, so that the tabs appear to be buttons. See the following image for the ideal result:

  • How can the tab selection indicators be removed in the Android 3.0+ action bar?

I have looked into the setDisplayOptions() method as well as the various flags relating to the ActionBar and ActionBar.Tab classes, but haven't found anything promising. StackOverflow, Google, and the Android Developers site all seem to lack any documentation for this effect.

While code is appreciated, even a point in the right direction would also be extremely helpful.

Category:android Views:0 Time:2012-04-28

Related post

  • android 3.0+ action bar tabs 2012-03-19

    I haven't been working with android 3.0+, nor the action bar, so I have a question about the tabs that can be implemented in the action bar. Is it only restricted to changing fragments? Can the tabs be: the first an activity, the second fragment? Fro

  • Android: Refreshing an action bar tab from activity 2012-04-12

    In activity's action bar option menu there is an option to refresh current data in view. In my scenario I have an activity that displays 3 tabs using action bar tab and fragments. Only when a user clicks refresh should I go and fetch data again from

  • jquery ui tabs prevent ui-tabs-selected ui-state-active being added 2011-10-12

    Looking for a way to prevent jquery from adding the ui-tabs-selected and ui-state-active to the tab bar / menu when it changes from tab to tab. But add my own styles if possible. Tried to find a solution, but nothing yet... anyone? --------------Solu

  • How to set Android Action Bar Tab scroll style 2011-11-22

    I have read a load of posts on styling the Android Action Bar and have successfully created my own style of Tab Menu items. In the specific situation where there are many Tabs and the honeycomb device goes into Portrait mode, the Action Bar automatic

  • Android Action Bar tabs 2012-01-03

    I am trying to build the ActionBar Tab with tabs bottom. Can some one please throw light on how to have the Android3+ version's ActionBar tabs at bottom? --------------Solutions------------- Can some one please throw light on how to have the Android3

  • remove default tab selection and also add scrollTo effect 2009-11-24

    var tabLinks = new Array(); var contentDivs = new Array(); function init() { // Grab the tab links and content divs from the page var tabListItems = document.getElementById('tabs').childNodes; for ( var i = 0; i < tabListItems.length; i++ ) { if (

  • jQuery tabs selecting specific tab 2010-07-01

    I have a page containing a set of jQuery tabs. All the tabs point at the same target div, but load it with different content via ajax. When I perform the initial full page load I need to set the active tab differently depending upon various factors.

  • jquery tabs selection 2010-10-12

    the jquery code is like this: $(document).ready(function() { //When page loads... $(".tab_content").hide(); //Hide all content $("ul.tabs li:first").addClass("active").show(); //Activate first tab $(".tab_content:first").show(); //Show first tab cont

  • UITabBarController - how to make "no tabs" selected at start up? 2010-10-17

    Is there any way in iPhone to unselect all tabs of a UITabBarController ? ie, my application has a "homepage" which does not belong to any tabs on the below displayed tabbar. Now when user touches any tab on the tabbar, I would like to load the corre

  • Error while loading Partial View based on the Tab selected on ASP.NET MVC page 2010-12-06

    I am new to MVC and trying to load a partial view based on the tab selected. Here are the two tabs (Prodcuts and Doc Types) and Two partial views (NavMenuProduct.ascx and NavMenuDocType.ascx). The default page is: Index.aspx My code is not loading th

  • scrollTo() not scrolling after tabs('select',#) 2011-12-14

    I'm losing my mind, this is supposed to be simple and I'm sure I've over-complicating it like a jQuery noob. Sigh. So I have this page that takes #switchto=ac#goto=acemergency hashtags and switches jQuery tabs appropriately, after which it's supposed

  • How to empty unselected ajax .tabs() on new tab select 2011-12-22

    I'm having an issue with ajax .tabs() and emptying or removing the contents of the tabs that aren't selected. I've searched the jQuery site and found this event, but quite confused as to what's next: $( ".selector" ).bind( "tabsselect", function(even

  • jQuery UI Tab Selection 2012-04-12

    I have a jQuery UI tab inside a jQuery UI Modal popup. The tab is data driven with an ajax call to a service. Ther are 4 tabs but sometimes there is no data for the firs tab depending on user selection. If there is no data for the first tab I hide th

  • Issue with tab-selecting in JQuery 2009-03-06

    I have the following problem: I want to create a webpage in which I can use the JQuey tabs both by a side-bar and by the upper button-bar of the Jquery tabs itself. I am using the following code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transi

  • What is my problem with tab-selecting in JQuery? 2009-03-06

    I want to create a webpage in which I can use the JQuey tabs both by a side-bar and by the upper button-bar of the Jquery tabs itself. My code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "

  • GDI+: Alternatives to DrawReversible for visual selection indicators? 2009-04-13

    I've searched around for an alternative way of drawing selection indicators for visual objects (like selected edges, lines etc.) without the use of ControlPaint.DrawReversibleFrame and related XOR methods. The reasons are unwanted XOR-ing "artifacts"

  • Tab selection using jQuery in MVC 2009-05-21

    I have four tabs set in my view as follows <ul> <li><a id="#tabs-1">Case Summary</a></li> <li><a id="#tabs-2">Patient</a></li> <li><a id="#tabs-3">Physician</a></li> <li

  • ui tab select using variable 2010-01-15

    i am having problem when try to change tab the code below is working $('#tabs').tabs('select', 1); WORKING FINE the code below var nextTab=$('#nextTab').val(); $('#tabs').tabs('select', nextTab); IS NOT WORKING the nextTab vairiable is valid tab inde

  • using jquery function to change tab selected 2010-04-15

    is it possible to add a .click event inside a function which is called when something happens. for example if some one clicks a button other than the tab navigation that button function will change the select tab. how can I add it to this function fu

Copyright (C), All Rights Reserved.

processed in 0.114 (s). 11 q(s)