Android Coding
Dec 1, 2010
Make Android App in Landscape/Portrait
To force Android App working in Landscape/Portrait, you can modify the AndroidManifest.xml file, to add "android:screenOrientation" in <activity>.
It can be "unspecified", "user", "behind", "landscape", "portrait", "sensor" or "nosensor".
eg.
android:label="@string/app_name"
android:screenOrientation="landscape"
>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Infolinks In Text Ads
No comments:
Post a Comment