Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
6.9
-
None
-
-
131cb7016 (dev)
-
2025wk06s1QtforAndroid, 2025wk08s1QtforAndroid
Description
After QTBUG-123711 the example apps could use the standard Android way of updating the UI layouts after orientation change, i.e. create the Activity again, and initialize with the proper layout XML file. This would also simplify the example UI code, as well as not highlight the underlying problem by working around it.
- Remove any code related to overriding the default behavior, such as the android.configChanges="orientation" from AndroidManifest.xml, and any code that manually sets the positions and sizes of UI elements based on the orientation
- Provide alternative layout XML files for portrait and landscape orientations for the Android app UI
- After this, when switching the screen orientation, the Activity and UI should be recreated with the correct layout
Attachments
Issue Links
- resulted from
-
QTBUG-123711 QtQuickView doesn't handle recreation of Activity properly
-
- Closed
-