ConstraintLayout error when switching from Portrait to Album mode
Right now I have two different layout files, one for Large and one for Large Ground. Both use constraint layouts. However, whenever the tablet switches from portrait to landscape, the landscape mode layout displays correctly. But after switching back to portrait and back to landscape mode, the landscape layout is no longer displayed correctly. The right side of the layout appears to have extended past the actual screen.
To keep it simple, Portrait → Landscape: Landscape is displayed correctly Portrait → Landscape → Portrait → Landscape: Landscape layout breaks and passes across the screen for some reason.
Any idea why this might be happening? Thanks in advance!
+3
source to share
No one has answered this question yet
Check out similar questions: