I commented out all code relating to loading many different layouts based on old method of handling many different device sizes.
Used standard variant (480x320) to adjust my main form layout that was sized for 1024 x 600. Using the examples, all looks great on my Nexus 7 (1280 x 800) in designer and when compiled.
I then created a new variant and specific variant code (320x480) which places views accordingly in portrait mode. Fine in designer...
When compiled app ran, device in landscape position, the portrait variant was chosen by default? Rotating device wouldn't choose the landscape mode??? Removed new variant (and supporting code) and everything is fine again - but only in landscape since the portrait variant doesn't exist.
Used standard variant (480x320) to adjust my main form layout that was sized for 1024 x 600. Using the examples, all looks great on my Nexus 7 (1280 x 800) in designer and when compiled.
I then created a new variant and specific variant code (320x480) which places views accordingly in portrait mode. Fine in designer...
When compiled app ran, device in landscape position, the portrait variant was chosen by default? Rotating device wouldn't choose the landscape mode??? Removed new variant (and supporting code) and everything is fine again - but only in landscape since the portrait variant doesn't exist.