React tylko rodzime portret
// add this in your manifest.xml
<activity
android:name=".MainActivity"
<...other code>
android:configChanges="orientation" //<--ADD THIS
android:screenOrientation="portrait"> //<--ADD THIS
Harpreet_Singh