From 75d56214d2cdfb5cbc4af0d0c5b84da0ffbafec8 Mon Sep 17 00:00:00 2001 From: KotlinGeek Date: Tue, 23 May 2023 23:58:59 +0100 Subject: [PATCH] Use manifest to avoid Activity recreation. --- app/src/main/AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 7ba5daf74..a386157e9 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -35,6 +35,7 @@ android:name=".ui.MainActivity" android:exported="true" android:windowSoftInputMode="adjustResize" + android:configChanges="orientation|screenSize|screenLayout" android:theme="@style/Theme.Amethyst">