Activities are now kept on configuration change (e.g. rotation), which in turn keeps the fragments alive during rotation

This commit is contained in:
denizk0461
2023-05-01 09:51:46 +02:00
parent d4737d8e14
commit 79f8e9cfca
+3
View File
@@ -20,6 +20,7 @@
android:name=".activity.MainActivity" android:name=".activity.MainActivity"
android:windowSoftInputMode="adjustPan" android:windowSoftInputMode="adjustPan"
android:exported="true" android:exported="true"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/Theme.StudIPTimetable"> android:theme="@style/Theme.StudIPTimetable">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
@@ -30,12 +31,14 @@
<activity <activity
android:name=".activity.FetcherActivity" android:name=".activity.FetcherActivity"
android:exported="false" android:exported="false"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/Theme.StudIPTimetable"> android:theme="@style/Theme.StudIPTimetable">
</activity> </activity>
<activity <activity
android:name=".activity.ImageActivity" android:name=".activity.ImageActivity"
android:exported="false" android:exported="false"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/Theme.StudIPTimetable"> android:theme="@style/Theme.StudIPTimetable">
</activity> </activity>
</application> </application>