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"
>










Make Android App in Landscape

No comments:

Post a Comment

Infolinks In Text Ads