Skip to content

Commit

Permalink
[android] Add uiMode config change to Main and ExperienceActivities
Browse files Browse the repository at this point in the history
Importing change made to React Native example apps in facebook/react-native#26413
  • Loading branch information
sjchmiela committed May 15, 2020
1 parent fef9035 commit de89031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template-files/android/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@

<activity
android:name=".experience.ExperienceActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:theme="@style/Theme.Exponent.Light"
android:windowSoftInputMode="adjustResize">
</activity>

<activity
android:name=".MainActivity"
android:launchMode="singleTask"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:theme="@style/Theme.Exponent.Splash"
android:windowSoftInputMode="adjustResize">
<!-- ADD DETACH SCHEME HERE -->
Expand Down

0 comments on commit de89031

Please sign in to comment.