I'm making an app currently for my Galaxy S3, but I'm having a few issues with it. Firstly, I've got this code:
set the height of button "Tab1" to 0.8*the height of this stack
I've got the same code for other buttons/groups/fields I have. When I'm testing it, it's working fine on computer - if the stack is 500 pixels high, tab1 is going to be 400 etc. But, when I put it onto my phone, for some reason it's only taking up half the screen. Even if I put "answer the height of this stack" first, it comes up saying 631 or so instead of the full 1280 or whatever the S3 is meant to be.
My second issue is text size. I had a standard text size first, but then realised when I put it on my S3 that it would be too small, so I used this code:
switch
case tWidth <= 360
put 12 into tFontSize
put 21 into downspace
break
case tWidth <= 1200
put 24 into tFontSize
put 32 into downspace
break
default
put 16 into tFontSize
put 28 into downspace
end switch
From here, I'd make the textsize of the various buttons/fields etc equal to tfontsize. I was just wondering if there was a more universal way so that it would work on any phone

Thanks in advanced