I understand that we should use the fewest Designer variants possible making all the size tweaks in the Designer scripts.
My project has the following variants:
360x640 Scale 1 Portrait
640x360 Scale 1 Landscape ..... These 2 work fine with virtually all modern phones
800x1280 Scale 1 Landscape
1280x800 Scale 1 Portrait......... Works fine with 10" tablets and more importantly....makes sure it gets listed in the tablet section of Play Store.
This variant combination is working fine on my Galaxy S4. I also have an HTC Desire S which is a native 480x800 screen. I don't normally provide a variant for this (would be 533x320 scale 1) in the project as the 360x640 variant normally works fine. However in my current project the portrait variant works OK but on changing orientation to landscape the device appears to retain the portrait variant as the best fit without switching to the 640x360 landscape
This behaviour is also reproduced on the UI Cloud where all examples are OK except the Samsung I9000 and Samsung Pocket landscape layouts where the portrait variant is selected by the OS.
I have produced a number of similar layout projects and this is the first time I have seen this. What am I doing wrong?
Just to add: Adding a landscape 533x320 scale 1 variant fixes the issue, but I am left wondering for the future... When will I need to add the extra variant and when can I leave it out ???
My project has the following variants:
360x640 Scale 1 Portrait
640x360 Scale 1 Landscape ..... These 2 work fine with virtually all modern phones
800x1280 Scale 1 Landscape
1280x800 Scale 1 Portrait......... Works fine with 10" tablets and more importantly....makes sure it gets listed in the tablet section of Play Store.
This variant combination is working fine on my Galaxy S4. I also have an HTC Desire S which is a native 480x800 screen. I don't normally provide a variant for this (would be 533x320 scale 1) in the project as the 360x640 variant normally works fine. However in my current project the portrait variant works OK but on changing orientation to landscape the device appears to retain the portrait variant as the best fit without switching to the 640x360 landscape
This behaviour is also reproduced on the UI Cloud where all examples are OK except the Samsung I9000 and Samsung Pocket landscape layouts where the portrait variant is selected by the OS.
I have produced a number of similar layout projects and this is the first time I have seen this. What am I doing wrong?
Just to add: Adding a landscape 533x320 scale 1 variant fixes the issue, but I am left wondering for the future... When will I need to add the extra variant and when can I leave it out ???
Last edited: