Add configChanges to AndroidManifest.xml to prevent activity recreation

This commit is contained in:
Sebastian Aigner 2023-06-19 17:09:29 +02:00
parent c7d2402619
commit 1ff7cb2f7b

View file

@ -10,6 +10,7 @@
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<activity
android:exported="true"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|layoutDirection|locale|mcc|navigation|smallestScreenSize|touchscreen|uiMode"
android:name=".MainActivity"
>
<intent-filter>