Android deshabilitar el modo de paisaje
<activity android:name=".SomeActivity"
android:label="@string/app_name"
android:screenOrientation="portrait" />
Slashcode
<activity android:name=".SomeActivity"
android:label="@string/app_name"
android:screenOrientation="portrait" />
// add this in your manifest.xml
<activity
android:name=".MainActivity"
<...other code>
android:configChanges="orientation" //<--ADD THIS
android:screenOrientation="portrait"> //<--ADD THIS