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 8231995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:40:54+00:00 2026-06-07T17:40:54+00:00

Can the background for the CAB (contextual action bar) in android, be changed? I

  • 0

Can the background for the CAB (contextual action bar) in android, be changed?
I am using it in my application, and when the application is installed on a tablet (3.0 – 3.2 API) the CAB has a yellow color and one look, and when the application is installed on phone with 4.0+ API it has some kind of blue background and another look.
Can I do sth about this and have the same look everywhere?

note: my application is intended to run on 3.0+ api’s

  • 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-07T17:40:56+00:00Added an answer on June 7, 2026 at 5:40 pm

    You could do this by defining your own themes. Use one of the standard themes (in your case you can use Theme.Holo since you are targeting Honeycomb+) as a start point and customize (i.e., override) those pieces that you want to change. In your case you would customize just the style for the CAB.

    The Styles and Themes section of Android dev site introduces you to this in brief. Two additional places to look for real world example of how this has been done are:

    1. Actionbar Sherlock. Look at the actual library source (rather than the samples).
    2. Google IO 2012 app.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently started using android actionbars and contextual action bars (CAB). I have just
every master hand person,in android,the textView can transparent background display on the overlay windowmanage
Can JPanel s background be set to transparent? My frame is has two JPanel
Is there a way I can remove the background bar image in the SeekBar
I can position a background image using the background property in an input field
How I can implement Background Processing in asp.net. Can anyone give a small and
If I use @import icon/*.png; @include all-icon-sprites; I can use background-position: sprite-position($icon, foobar); to
Background - I can get HttpListener working fine for HTTP traffic. I'm having trouble
Normally with Java Swing you can set the background color of a button with:
I have a page where the background colour can be set dynamically. In some

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.