Skip to content

Commit 6de1b3e

Browse files
authored
Merge pull request #177 from hotwired/activity-orientation-change
Don't recreate the demo app MainActivity on orientation changes
2 parents c1ed695 + a744f7a commit 6de1b3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

demo/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
<activity
1919
android:name="dev.hotwire.demo.main.MainActivity"
20+
android:configChanges="orientation|screenSize"
2021
android:launchMode="singleInstance"
2122
android:theme="@style/MyTheme.DayNight"
2223
android:windowSoftInputMode="adjustResize"

0 commit comments

Comments
 (0)