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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:20:31+00:00 2026-06-01T16:20:31+00:00

I am currently backporting my application to make it work on device prior to

  • 0

I am currently backporting my application to make it work on device prior to 3.0 using actionbarsherlock.

If a user launches the application in portrait mode and then rotates the screen and tries to select a tab nothing happens until the user preforms another action. The current build which does this can be downloaded here (sherlock-alpha1) http://tinyurl.com/cz95nup.

Tabs are added in the following way

        bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
        bar.addTab(bar.newTab().setText("tab1").setTabListener(this),false);
        bar.addTab(bar.newTab().setText("tab2").setTabListener(this),false);
        bar.addTab(bar.newTab().setText("tab3").setTabListener(this),false);

This also occurs if you launch the application in landscape and then use it in portrait mode (portrait tabs will not work).

It is working fine on devices running the native actionbar.

  • 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-01T16:20:33+00:00Added an answer on June 1, 2026 at 4:20 pm

    Are you handling configuration changes in the manifest?

    android:configChanges="orientation"
    

    If so this is not allowing the fake decor view that ActionBarSherlock installs to be re-initialized on rotation which will cause many problems.

    Handling configuration changes should be used as sparingly as possible. The documentation states that it should be used as a last resort.

    Future versions of the library will hopefully be able to account for people who choose to do this.

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

Sidebar

Related Questions

Currently I am using HTML files for parts of my user interface. I display
Currently writing a C# application it should do backups using GIT in the background.
Currently i am working in Android application, Using plist to store some values in
Currently, I am writing a MiddleWare application that synchronizes information between and accounting application
currently, I`m implementing a map App with Mono4Droid and there I`m using a WebView
Currently i have a node.js and socket.io application in development on my local machine
Currently i'm having trouble using two functions in my -(void)viewDidLoad , both of these
Currently, most of the popular websites, like google, yahoo detect if the user connection
Currently I am using Amazon Cloudfront to service static objects on my ASP.Net MVC3
Currently, I am modifying a css document to make a website compatible in IE

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.