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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:17:15+00:00 2026-05-25T03:17:15+00:00

I tried to set a custom title bar includes spinner object but everytime it

  • 0

I tried to set a custom title bar includes spinner object but everytime it gave me that exception called “You cannot combine custom titles with other title features”. I searched to find a solution site by site and also i did everything correctly as described on the net but the exception never disappeared. There is a very silly question left on my mind that it can be related to android 3.0? I am developing with version 3.0 (honeycomb). I don’t know what should i do.

Thank you adamp, i made it with your guidance. here is a simple action bar with spinner example. May help to someone who is facing the similar issue.

    super.onCreate(savedInstanceState);
    setContentView(R.layout.screens);
    ActionBar bar = getActionBar();
    bar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
    bar.setListNavigationCallbacks(new SpinnerAdapter(this, android.R.layout.simple_dropdown_item_1line, EczaneMgr.getInstance(this).getEczaneListAsSpinner()),
            new OnNavigationListener() {
          @Override
          public boolean onNavigationItemSelected(int position, long itemId) {
            Log.e("item position",String.valueOf(position));
            return true;
            //do whatever want to do...
          }
        }
    );
  • 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-05-25T03:17:15+00:00Added an answer on May 25, 2026 at 3:17 am

    The Action Bar used on Android 3.0+ is considered a title feature, and your Activity will get one by default if you are using one of the Holo themes. (Theme.Holo, Theme.Holo.Light, etc.) Theme.Holo is the default for apps with targetSdkVersion="11" or above. The older “custom title bar” feature cannot be combined with the action bar, but you can use the action bar to do this instead.

    Use the action bar’s list navigation mode, set using ActionBar#setNavigationMode and ActionBar#setListNavigationCallbacks to specify an adapter that will supply spinner views.

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

Sidebar

Related Questions

I've tried to set the margin and border to 0,but still not working. <style
I have tried the obvious SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED, but my
I have tried this but it doesn't work: tell application Preview set myfile to
I have an application which uses a custom title bar. However, when my application
I have a custom dialog that I set up as a function: public void
I have a custom UIView that generates a set of subviews and display them
I have a set of custom PropertyDescriptor that I want to add categories too
As The Title said, I tried to implement a custom taxonomy in wordpress, i
I tried to set innerHTML on an element in firefox and it worked fine,
I tried to set the tick style to tsManual, the min and max position

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.