Jedyne co mogę znaleźć to, aby użyć tego:Jak ustawić aplikację jako portret?
android:configChanges="orientation"
android:screenOrientation="portrait"
ale pozostaje jako normalne. Mój manifest:
?xml version="1.0" encoding="utf-8"?>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:configChanges="orientation"
android:screenOrientation="portrait"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>