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()

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

Posting Komentar