mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-21 13:19:02 +00:00
Adapt to orientation changes in MainActivity. (#2087)
MainActivity defines an alternate layout for screen more than 600dp wide, but was ignoring orientation changes. This caused a bug where if the application was opened with a wide orientation, but then the orientation changed to a small one, the user would be presented with the wide layout compressed into an unusable screen. fixes #2002
This commit is contained in:
parent
e20a490238
commit
5e9e1d8295
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@
|
|||
android:name=".ui.activities.MainActivity"
|
||||
android:theme="@style/LaunchAppTheme"
|
||||
android:windowSoftInputMode="stateHidden|adjustResize"
|
||||
android:configChanges="screenSize | smallestScreenSize | screenLayout | orientation"
|
||||
android:configChanges="screenSize | smallestScreenSize | screenLayout"
|
||||
android:exported="true">
|
||||
<nav-graph android:value="@navigation/navigation" />
|
||||
<intent-filter>
|
||||
|
|
|
|||
Loading…
Reference in a new issue