android disable landscape mode
snippet in kotlin

android disable landscape mode

user6953

<activity android:name=".SomeActivity"
    android:label="@string/app_name"
    android:screenOrientation="portrait" />