Skip to content

Instantly share code, notes, and snippets.

@WrathChaos
Last active March 23, 2021 11:16
Show Gist options
  • Save WrathChaos/d081e08c826313d3a2fd to your computer and use it in GitHub Desktop.
Save WrathChaos/d081e08c826313d3a2fd to your computer and use it in GitHub Desktop.
Portrait Mode Only in Android
<activity
 android:name=".MainActivity"
 android:label="@string/app_name"
 android:configChanges="orientation"
 android:screenOrientation="portrait"
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment