Variants. Erel is correct that the proper variant is selected at runtime regardless of the order, however, when I copy and paste views from one layout file to another where the variant order is different, the pasted views are wildly out of place and sized incorrectly. This only happens when the variants are in a different order. When the variants are listed in the same order in both the source and destination layout files, then the pasting goes very well.
So, I'm looking for a way to change the order of variants. Perhaps I just need to create a new layout file with the variants properly ordered.
As I have found to my cost in the past.... The variant loaded by the OS is not always the one you presume!
If you are having difficulty with screen layouts then perhaps put some debug code in to reveal which variant is actually in use..... You may be surprised!