Disable auto rotation screen - Android App

Add something like android:screenOrientation="portrait" or android:screenOrientation="landscape" in the AndroidManifest.xml:
<activity android:name=".MyActivity"
          android:label="@string/app_name"
          android:screenOrientation="portrait">

No comments:

Post a Comment

Workout and Fitness

Latest Update

Recent Posts Widget