This is not how the algorithm for picking the right layout works. The algorithm is described here:
Each time the screen is resized Defold will calculate how well your layouts match the actual screen size. Defold will use the layout that is the closest match.
Thanks for the quick response.
I rechecked by the formula from manual and all works right.
But it seems difficult to predict which layout will be chosen.
It would be cool to be able to choose the layout yourself.