I've been working on the auto scale and it shows correct when I'm in designer mode but when I compile the app it comes out all wrong.
Here's what I've done.
I have a layout view 320X480, scale = 1(160dip)
I have the designer connected to my nexus 7
In designer mode when in the Main the screen on the nexus 7 is the same as the design. 320X480
In the designer scripts I have this code
When I switch to Designer Scripts the nexus screen layout has scaled properly and looks good.
when I compile the app and run it on the nexus 7 it comes out all goofy
I do have the layout loaded in the app
What other information do you need to help me with this problem
Thanks in advance for your help
Here's what I've done.
I have a layout view 320X480, scale = 1(160dip)
I have the designer connected to my nexus 7
In designer mode when in the Main the screen on the nexus 7 is the same as the design. 320X480
In the designer scripts I have this code
B4X:
'All variants script
delta = ((100%x + 100%y) / (320dip + 480dip) -1)
rate = 0.3
scale = 1 + rate * delta
AutoScaleRate(1)
AutoScaleAll
when I compile the app and run it on the nexus 7 it comes out all goofy
I do have the layout loaded in the app
What other information do you need to help me with this problem
Thanks in advance for your help