I'm using percentages, when create my GUIs, but I would like to use better the Designer.
Foreword: I know well the problem of the different relationships (ratio) between width and height of the various devices (when the hardware manufacturers will agree a standard, better if 16:9? ).
What I think is expected from the Autoscale functionality is that, roughly, when you create a variant including a button 100dip x 100dip, using the Autoscaleall the button is sufficiently proportioned on devices with different screens, such as tablets and smartphones.
In the example that I attach, I left all the default settings; I just added a button (default size, 100dip x 100dip).
Data and result:
TABLET 800 x 1280 - scale 1 (density)
SMARTPHONE 480 X 800 - scale 1.5
Variant: 320 x 480
Button1: 100 x 100
AutoScaleRate: 0.3 (not set, implied).
LOGS (Button1 size):
TABLET 150 X 150 (dips)
SMARTPHONE 155 X 155 (dips)
The difference is evidently minimal and consequently the proportion between the button and the screen size is totally different from what is desired.
[Moreover, the size in dips on the smartphone is even greater than on a tablet]
Since surely Autoscale does what it was created for, obviously what I suppose it should do is wrong.
Foreword: I know well the problem of the different relationships (ratio) between width and height of the various devices (when the hardware manufacturers will agree a standard, better if 16:9? ).
What I think is expected from the Autoscale functionality is that, roughly, when you create a variant including a button 100dip x 100dip, using the Autoscaleall the button is sufficiently proportioned on devices with different screens, such as tablets and smartphones.
In the example that I attach, I left all the default settings; I just added a button (default size, 100dip x 100dip).
Data and result:
TABLET 800 x 1280 - scale 1 (density)
SMARTPHONE 480 X 800 - scale 1.5
Variant: 320 x 480
Button1: 100 x 100
AutoScaleRate: 0.3 (not set, implied).
LOGS (Button1 size):
TABLET 150 X 150 (dips)
SMARTPHONE 155 X 155 (dips)
The difference is evidently minimal and consequently the proportion between the button and the screen size is totally different from what is desired.
[Moreover, the size in dips on the smartphone is even greater than on a tablet]
Since surely Autoscale does what it was created for, obviously what I suppose it should do is wrong.