When using split screen mode on Android 7 the wrong "Designer' generated layout is being selected.
For example if the screen is held in Portrait orientation the true screen size is reported as 1440 x 2392 and the portrait layout is correctly selected. However, when you enable split screen mode with a split screen size reported to be 1440 x 969 the Portrait layout is still used when the landscape layout should have been used.
If the screen is held in Landscape mode (2392 x 1440) the landscape layout is correctly used. But if you go into split screen with a reported size of 1179 x 1188 the landscape layout is still used. In this case neither landscape nor portrait is correct as the screen is square. We need a layout option to define a square or almost square layout to handle this case.
For example if the screen is held in Portrait orientation the true screen size is reported as 1440 x 2392 and the portrait layout is correctly selected. However, when you enable split screen mode with a split screen size reported to be 1440 x 969 the Portrait layout is still used when the landscape layout should have been used.
If the screen is held in Landscape mode (2392 x 1440) the landscape layout is correctly used. But if you go into split screen with a reported size of 1179 x 1188 the landscape layout is still used. In this case neither landscape nor portrait is correct as the screen is square. We need a layout option to define a square or almost square layout to handle this case.