how to diable landscape mode in android studios 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" />