orientation is not working in 2.3.3?

前端 未结 3 431
别那么骄傲
别那么骄傲 2020-12-21 09:32

I have prepared one application.My application will be supports both landscape and portrait. When i change the orientation from portrait to landscape it is working fine,But

3条回答
  •  半阙折子戏
    2020-12-21 10:13

    You might be hitting this bug "Orientation does not change from landscape to portrait on Emulator on 2.3"

    More than 45 people are facing the same issue with the androidd 2.3 emulator

    http://code.google.com/p/android/issues/detail?id=13189

    Host OS: Windows 7 SDK tools version : revision 8 Eclipse version: 3.5 ADT plug-in version: 8.0.1 Platform targeted by your project: 2.3 Version of the platform running in the emulator:2.3

    STEPS TO REPRODUCE: 1. Activity 1 (no screen orientation) - Activity 2 (screen orientation = landscape)

    1. Going from Activity 1 to 2 works fine. Pressing back changes the orientation of Activity 1 to landscape

    EXPECTED RESULTS: Activity 1 should be in portrait mode

    OBSERVED RESULTS: Behavior is observed only in gingerbread, works as expected on froyo.

提交回复
热议问题