Jumat, 08 April 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()

0 komentar:

Posting Komentar

Copyright © 2012 Codding News All Right Reserved