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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:42:45+00:00 2026-06-10T06:42:45+00:00

I created a virtual Android device, 480×800 , ran it, and as I already

  • 0

I created a virtual Android device, 480x800, ran it, and as I already found how to change the screen orientation (portrait-landscape, CTRL+F11/CTRL+F12/KP7/KP9), I used these keys to change the orientation.

But when I try one of these keys, the virtual screen rotates 90 degrees, but the orientation does not change. Hence, the Buttons are vertically placed on the screen, and all the text too. Just like a picture that is getting rotated 90 degrees.

How do I get the virtual degrees to actually switch over to the other layout file (/res/layout-land/activity_entry.xml)? Eclipse’s graphical viewer does switching between landscape/portrait correctly.

EDIT
I added this part in the activity right under this the onCreateOptionsMenu(Menu menu)
method, but the application does not recognize screen orientation change:

@Override
public void onConfigurationChanged(Configuration newConfig) { 
    super.onConfigurationChanged(newConfig);
    Context context = getApplicationContext();
    CharSequence text = "Orientation changed";
    int duration = Toast.LENGTH_SHORT;

    Toast toast = Toast.makeText(context, text, duration);
    toast.show();
}

EDIT 2
When I call this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) from within the onCreate() method, it works nicely.

  • 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-10T06:42:47+00:00Added an answer on June 10, 2026 at 6:42 am

    First off number lock and then press 7 or press 9 and check emulator’s orientation is changed and other way to change orientation of emulator is press ctrl+f12.

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

Sidebar

Related Questions

I installed all the prerequisites for Android development . I created a virtual device
I have created an Android emulator (Android Virtual Device), but I am unable to
Just installed the android sdk on my macbook pro. I created a virtual device,
How can change the Android virtual device locate using Eclipse ? when i create
I have a weird problem with the Android emulator. I have created a virtual
I want to create a Android Virtual device that resembles a 7 inch tablet
I want to create my Android virtual device from another java application. I don't
I want to create an Android Virtual Device in Eclipse Galileo which matches HTC
I am creating new virtual device using ubuntu gelelio@ubuntu:/media/Android/eclipse-linux/android-sdk-linux_x86/tools$ ./android I have create new
When i try to create a new Android Virtual Device(AVD) on Ubuntu 11.04, i

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.