C CD Tom Member Licensed User Longtime User Jan 16, 2013 #1 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 Code: Copy 'All variants script delta = ((100%x + 100%y) / (320dip + 480dip) -1) rate = 0.3 scale = 1 + rate * delta AutoScaleRate(1) AutoScaleAll 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
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 Code: Copy 'All variants script delta = ((100%x + 100%y) / (320dip + 480dip) -1) rate = 0.3 scale = 1 + rate * delta AutoScaleRate(1) AutoScaleAll 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
C CD Tom Member Licensed User Longtime User Jan 16, 2013 #2 Ok I found out what the problem was. I had two variants one for the 320X480 and the other for a 600X960 when I took out the 600X960 everything worked like it was supposed to. Upvote 0
Ok I found out what the problem was. I had two variants one for the 320X480 and the other for a 600X960 when I took out the 600X960 everything worked like it was supposed to.