Android Question AutoScale Larger Variants

JOFA666

Member
Licensed User
Longtime User
When I have previously made applications, I always tend to use 480x320 Scale=1 layout, and then use AutoScaleAll and AutoScaleRate(). However, in a new application I am creating, it is almost impossible to use this small variant as I am using very small objects. Thus, I am wanting to be able to use a larger variant and scale this down to work with smaller devices. I have tried using AutoScaleAll and AutoScaleRate() but have not had any success. It seems like you can only scale up, not down. I cannot use Designer Scripts like:
btnRight.Right = 100%x
as my objects are 'floating in the middle of the screen, and not anchored to the sides. Can anyone give me some advice on how I might be able to achieve this?

If this is unclear, please ask me to clarify it.
 

klaus

Expert
Licensed User
Longtime User
Have a look at the AutoScale Code Module.
The latest version allows to set a non 'standard' layout as the reference layout and therefor allows downscaling, in this case AutoScale has no effect its value is 1.
If you downscale a big layout on a small screen radiobutton and checkbox images are not downscaled !

Best regards.
 
Upvote 0
Top