setting screenOrientation in AndroidManifest.xml does not work
Make sure you put it in the <activity>
tag, not the <application>
tag.
It only works in the <activity>
tag, but will not complain if you put it in the <application>
tag.
http://developer.android.com/guide/topics/manifest/application-element.html
vs
http://developer.android.com/guide/topics/manifest/activity-element.html
You will need to put it for each Activity
you define in your manifest.xml
Everything seems okay, except one thing! I don't know if it's your case or not, but you should read the documentation :D
You will have to declare screeSize
if you applications targets API level 13 or higher.
If your application targets API level 13 or higher (as declared by the minSdkVersion and targetSdkVersion attributes), then you should also declare the "screenSize" configuration, because it also changes when a device switches between portrait and landscape orientations.
Let me know it this resolves your issue.