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

  • Home
  • SEARCH
  • 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 9077389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:19:46+00:00 2026-06-16T19:19:46+00:00

Upon install, my app would show only 1 tab, hence I want to hide

  • 0

Upon install, my app would show only 1 tab, hence I want to hide the tab row.

When user login/signup, additional tabs would show up.

I create tabs(fragments) in onCreate().

   @Override
    public void onResume() {
        super.onResume();
        this.supportInvalidateOptionsMenu();

        if(logged_in()){
            m_actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
            m_actionBar.setSelectedNavigationItem(this.m_previousTabIndex);
        }
        else
            m_actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);

        return;
    }

I don’t see the tabs.. that’s good.
But I don’t see the first tab’s contents either. I don’t see nothing but actionBar in screen.
How do I fix this to show the first tab’s contents?

  • 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-16T19:19:47+00:00Added an answer on June 16, 2026 at 7:19 pm

    I’d look at ActionBarSherlock samples to see how they work.

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

Sidebar

Related Questions

Upon user login I check their roles. If they have no roles I want
Is there a way to pass data to my app upon install from a
And when I say install I mean move upon installation. I want to package
Upon submit I am trying to have quiz hide and have thanks be shown.
Upon a certain user action, I wish to add to my UIViewController another UIView
Upon starting my webapp within Tomcat 6.0.18, I bootstrap Spring with only what is
I want to install OF for Android on My Windows 7 machine and Eclipse
Given: Upon running mvn clean install JSP compiler jspc reports issues Issues are confirmed
Upon completion of a custom payment form I add two user roles, a badge,
When I install my app then go to the notification section of settings, the

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.