Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7784709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:08:18+00:00 2026-06-01T20:08:18+00:00

I am currently working on making my application compatible with pre 3.0 devices with

  • 0

I am currently working on making my application compatible with pre 3.0 devices with the aid of actionbarsherlock. My application has a custom theme which overide Holo.light changing the blue to orange.

I am wanting to change the blue line which appears under the actionbar to orange. With the official actionbar I managed this by overriding

    <item name="android:background">@drawable/ad_tab_unselected_holo</item>

Unfortunately this does not seem to be working in actionbarsherlock 4.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T20:08:19+00:00Added an answer on June 1, 2026 at 8:08 pm

    You need to do two things:

    The ABS 4 now mimics the standard Action bar with its attributes so you need to add –

    <item name="background">@drawable/ad_tab_unselected_holo</item>
    

    Notice the absence of android:

    So your overall code would be:

    <item name="android:background">@drawable/ad_tab_unselected_holo</item>
    <item name="background">@drawable/ad_tab_unselected_holo</item>
    

    To quote:

    Due to limitations in Android’s theming system any theme
    customizations must be declared in two attributes. The normal
    android-prefixed attributes apply the theme to the native action bar
    and the unprefixed attributes are for the custom implementation. Since
    both theming APIs are exactly the same you need only reference your
    customizations twice rather than having to implement them twice.

    I would also extend a varient of Theme.Sherlock rather than holo, as I believe holo is not available on older devices that are pre 3.0.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're working on some Ruby on Rails web application which is currently in English
I am currently working on the creation of an application for mobile devices with
I am currently working on a .Net application which makes HTTP requests to some
I am currently working on a very large legacy MFC MDI application. It has
Currently I am working on a C++/clr application that is slowly making progress. When
I am currently developing an application which has a maps feature. My map is
I have currently been working on a web application which features a dynamically updating
Am currently working on an application that requires users to submit posts and comments
First some background, I am currently working on a relatively large Asp.Net MVC application
I currently have an application making use of Authorize.net's ARB API. I have everything

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.