A note about AutoScaleAll. In previous versions AutoScaleAll always scaled the layouts based on the device physical size and the "standard variant" (320x480, scale = 1). It was only meaningful (per design) to call AutoScaleAll with the standard variant.
Starting from v3.20 AutoScaleAll works with other variants as well. For example if you create a tablet variant and then load it on a phone device then the views will become smaller. This is the correct behavior.
However if you already have a working layout and used AutoScaleAll with a non-standard variant then the layout will be scaled differently now.
If you like you can force the auto scaling to preserve the old behavior. This is done with this code:
Dim jo As JavaObject
jo.InitializeStatic("java.lang.System").RunMethod("setProperty", Array As Object("autoscaleall_old_behaviour", "true"))
You should run it before loading the layout file.