1
0
Fork 0

Fix activity recreation when certain configurations change (#1)

This commit is contained in:
Xinto 2022-11-25 15:03:14 +04:00 committed by GitHub
parent faaa17f98d
commit 16fd228b3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 3 deletions

View file

@ -14,7 +14,8 @@
>
<activity
android:name=".MainActivity"
android:exported="true">
android:exported="true"
android:configChanges="orientation|keyboardHidden|screenSize|layoutDirection">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />

View file

@ -66,4 +66,4 @@ public class MainActivity extends Activity {
.build()
);
}
}
}