Apr 8, 2011

How to set orientation of activity/application in AndroidManifest.xml

To set orientation in AndroidManifest.xml, add the following code under <activity> or <application>.

 android:screenOrientation="landscape"



Related: Change the desired orientation of activity: setRequestedOrientation()

No comments:

Post a Comment

Infolinks In Text Ads