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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:09:38+00:00 2026-05-23T02:09:38+00:00

I am using two xml file on for landscape and another for portrait when

  • 0

I am using two xml file on for landscape and another for portrait
when i am trying to change my orientation landscape to portrait and portrait to landscape it shows the black screen
I want to remove that black screen what i have to do for this problem

  • 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-23T02:09:38+00:00Added an answer on May 23, 2026 at 2:09 am

    OK, I understand now “that blank screen” is the delay in between while the activity is restarting.

    How long does it take will strongly depend on what you’re doing during onCreate(), since it is called every time the activity starts. You asked in the comments if threads will solve it: short answer, no, it’s not that simple as spawning a new thread.

    You may want to consider using onRetainNonConfigurationInstance() for the heavy objects in your activity. Take a look at this article for a excellent explanation: http://developer.android.com/resources/articles/faster-screen-orientation-change.html .

    Alternatively, you can use static data in an Application class. See the Application as a Singleton post here: http://androidcookbook.com/Recipe.seam?recipeId=1218

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

Sidebar

Related Questions

I am trying to insert xml elements into an xml file using XSLT. I
I'm trying to convert an XML file into the markup used by dokuwiki, using
I want to query the following xml file using LINQ To XML <table> <row>
I am trying to create a new XML file from an exisiting one using
I want to read a xml file using Linq. This xml file is composed
I'm trying to retrieve N number of items from an XML file using simpleXML
I have parsed XML using both of the following two methods... Parsing the XmlDocument
I have two applications written in Java that communicate with each other using XML
I am creating an XML file in C# using a XSD Schema of an
Scenario: I am parsing values from an XML file using C# and have 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.