Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How to disable the Landscape mode in Android?

Jeson84Jeson84 USAMember Posts: 90

I need to disable the Landscape mode in Android. Please let me know how to achieve this.

Tagged:

Comments

  • DavidMDavidM USAMember Posts: 342

    add the code segment android:screenOrientation="portrait" in AndroidManifest.xml file.

    example <activity android:name=".MapScreen" android:screenOrientation="portrait"></activity>

Sign In or Register to comment.