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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:14:01+00:00 2026-06-06T12:14:01+00:00

Having <item name=android:actionBarDivider>@drawable/action_bar_divider</item> in my Activity style has zero effect. Doesn’t matter if I’m

  • 0

Having

<item name="android:actionBarDivider">@drawable/action_bar_divider</item>

in my Activity style has zero effect. Doesn’t matter if I’m using native ActionBar or ActionBarSherlock. Why?

  • 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-06T12:14:03+00:00Added an answer on June 6, 2026 at 12:14 pm

    I worked around it by programatically inserting dividers into the view hierarchy. It occured to me later that dividers may be only visible in the bottom action bar (I needed them at the top bar). But I didn’t verify that.

    public boolean onCreateOptionsMenu(com.actionbarsherlock.view.Menu menu) {
        MenuInflater inflater = getSupportMenuInflater();
        inflater.inflate(R.menu.main_activity, menu);
    
        new Handler().post(new Runnable() {
            @Override
            public void run() {
                for (int id : new int[] { R.id.action_1, R.id.action_2 }) {
                    View actionView = findViewById(id);
                    insertDividerBefore(actionView);
                }
            }
        });
    
        return true;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I’m having trouble declaring my bitmap/drawable in appropriate xml According to convoluted android docs,
I have an arrayList listItems with multiple objects, each having an Item Name and
I have a vertical menu having an item Click here to get the scientific
Basically having some trouble with using Hover to hide or show an item. The
I am having a difficulty adding an item to my listbox. I want to
I am having trouble changing the color of a menu item (.category) on hover
Can I assign a system item to a UIBarButtonItem without having to recreate it?
I am having some difficulty figuring out how to return the selected item in
I'm often having code written as follows try: self.title = item.title().content.string except AttributeError, e:
I think I'm having boxing issues foreach(var p in item.GetType().GetProperties(). Where(p => p.GetValue(original, null)

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.