android prevent landscape 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" />