Don't re-create the MainActivity during screen rotation

Fixes #152
This commit is contained in:
Jakob Nixdorf 2018-03-09 14:27:32 +01:00
parent f3ae22a343
commit d753914827
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC

View file

@ -17,7 +17,8 @@
<activity
android:name=".Activities.MainActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
android:theme="@style/AppTheme.NoActionBar"
android:configChanges="orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />