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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:03:16+00:00 2026-06-14T20:03:16+00:00

I used Eclipse to create a new Project and set the navigation type of

  • 0

I used Eclipse to create a new Project and set the navigation type of my main activity to tabs and swipe. Everything works, but when I add these to hide the Icon and Title of the App

actionBar.setDisplayShowHomeEnabled(false);
actionBar.setDisplayShowTitleEnabled(false);

the two bars swap location. See screenshots below.

before
after

Can someone please explain this to me?

Thanks you for helping me

  • 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-14T20:03:17+00:00Added an answer on June 14, 2026 at 8:03 pm

    This was some behavior that if I remember right was introduced in ICS to support a specific design case we ended up not using. The idea was that in the absence of a home/up affordance or title, the tabs declare the title of the current content and guide the structure of the window even more than usual. This includes the actions/action overflow, so they show up beneath the tabs in the structural hierarchy of the window.

    I would recommend avoiding this case; consider using a split action bar if you’re using the actionbar tabs as the primary anchoring element for your window instead of home/up and/or a title. See the AOSP People and dialer apps as examples.

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

Sidebar

Related Questions

I am new to Java (and Eclipse) but I have used .NET (and Visual
I am new to Android. I create a HelloAndroid Project using command-line(not Eclipse). /
I used Eclipse to build a pretty simple Java project. It builds and runs
The JTree implementation / Renderer used in eclipse (see the navigation pane on the
I have installed the m2e plugin for Eclipse and used it to create a
Under Windows I installed MinGW and Eclipse, and created a new C++ project with
In Eclipse (3.3) if you start the New Plugin Project Wizard, the first page
Folks, I am developing a Java application using Eclipse. Maven is used to create
If a class is used in a Java project in Eclipse, and it's not
I Am trying to create eclipse projects programmatically for my plugin. I used this

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.