Skip to content

Commit 5618aa9

Browse files
committed
Capture orientation and screen size config changes
This is to prevent the About dialog from disappearing on the MainActivity when the screen is rotated.
1 parent 1e92c3f commit 5618aa9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<activity
1616
android:name=".MainActivity"
1717
android:label="@string/app_name"
18+
android:configChanges="orientation|screenSize"
1819
android:theme="@style/AppTheme.NoActionBar">
1920
<intent-filter>
2021
<action android:name="android.intent.action.MAIN" />

0 commit comments

Comments
 (0)