android disable landscape mode in app code example
Example: android disable landscape mode
<activity android:name=".SomeActivity"
android:label="@string/app_name"
android:screenOrientation="portrait" />
<activity android:name=".SomeActivity"
android:label="@string/app_name"
android:screenOrientation="portrait" />