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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:15:22+00:00 2026-05-23T07:15:22+00:00

i want to know how to handle mobile screen orientation means in android mobile

  • 0

i want to know how to handle mobile screen orientation means in android mobile if i make the mobile horizotal then it’s layout also be horizontol and when i turns it to verical then it’s layout become vertical..but when i make horizontol then my UI becomes change and unlike to me..

1) so is there any way so that when i make it horizontol then my UI automatically set according to that heiht and width.
and my

2) second qus is that if i not want to change the orientation when i make it horizontol means if i make mobile horizontol then also its orientation will not change and it remains same.

  • 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-23T07:15:22+00:00Added an answer on May 23, 2026 at 7:15 am

    You should have two layout for both Landscape and Potrait and put your landscapelayout to layout-land and protrailayout to layout folder . Android will automatically do the rest of the things for you .

    if you are in landscape or portrait Android looks for the layout file in either the -port or -land directory first, if it’s not found then it falls back to the default layout directory.

    you can read it here..http://developer.android.com/guide/topics/resources/providing-resources.html

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

Sidebar

Related Questions

I want to know how objective C runtime handle arguments when I call a
I have a s:List component. I want to handle a click event to know
I want to connect an android mobile program to a C++ program, and i
I want to know, Is there any way to handle or control the shockwave
Hi i want to know how to close an application in Android. Actually i
I want to know the best approach to handle the dialog boxes to be
I want to know the how to handle when user press up arrow when
I want to know how to make text field in tableview in iphone. it
I want to know how to handle multiple inputs from a form with multiple
i want to know if it is possible to handle variables through a dictionary.

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.