With reference to the picture , The App view is tilted, seems like it is not straight, You can see the App Name as well Jaago
which is titled, I changed the AVD postions from Landscape to Potrait and ViceVersa ,but that doesn't effect my App View at all..Any help in this regard.
The HomeScreen
Asked
Active
Viewed 250 times
4
-
Check out in manifest file whether it might have given fixed orientation. – GrIsHu Oct 23 '13 at 06:47
-
@GrIsHu works fine on my PC and mobile as well, In other PC it shows like this – Oct 23 '13 at 06:52
-
Then it may be the issue of AVD orientation for the screen. – GrIsHu Oct 23 '13 at 06:54
-
Try to create new AVD and check out in that. – GrIsHu Oct 23 '13 at 06:59
-
@GrIsHu I tried that.. – Oct 23 '13 at 07:07
-
Can you post your application manifest file ? – GrIsHu Oct 23 '13 at 08:17
-
@GrIsHu I dont think that have to deal with menifest file because even the Android standard Home screen and Menu with all apps shows titled – Oct 23 '13 at 09:27
-
I think this link can help you [changing the orientation of emulator][1] [1]: http://stackoverflow.com/questions/1991318/how-to-change-emulator-screen-orientation – Oct 28 '13 at 04:23
-
1@Pushpendra its somethhing inside the emulator, emulator direction wouldn't matter. The User clearly wrote in his question – require_once Oct 29 '13 at 08:08
-
@user1765876 can you post a screen shot of your emulator configuration? and if possible screen shots of home and menu screens of your emulator as well. – Mohan Krishna Oct 29 '13 at 17:12
-
1Try to disabling `Hardware keyboard present` or removing "Keyboard lid support" for your emulator (using AVD Manager & edit avd) – Sherif elKhatib Oct 30 '13 at 00:48
-
@MohanKrishna please have a look – Oct 30 '13 at 08:46
-
@SherifelKhatib it works but what was the reason? – Oct 30 '13 at 10:40
-
@user1765876 check the answer. It is not really clear why. – Sherif elKhatib Oct 30 '13 at 10:53
3 Answers
1
Try to disabling "Hardware keyboard present" or removing "Keyboard lid support" for your emulator.
You can do this by going to the AVD Manager & editing the emulator you are using.
The reason for this might be related to the following bugs:
- Issue 13189: Orientation does not change from landscape to portrait on Emulator on 2.3
- Issue 19910: [Emulator] startActivityForResult on camera - Screen orientation remains fixed in landscape after taking picture
- Issue 874: manifest screen orientation and run config emulator screen orientation don't work together

Sherif elKhatib
- 45,786
- 16
- 89
- 106
-3
android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize"
*Add these lines in your Android Manifest file after declaring all activities in activity tags **
like:
<activity android:name="com.geeklabs.ActivityMain"
android:screenOrientation="portrait"
android:configChanges="keyboardHidden|orientation|screenSize" />
May be it will helps you.

Shailendra Madda
- 20,649
- 15
- 100
- 138
-
-
This will used for not getting exceptions while changing screen orientation when performing any operations.This allows to preventing the unfortunately stopping exception if you change the screen orientation – Shailendra Madda Oct 23 '13 at 09:58