Hello
I'm working on a larger project and I usually use phones that are 480 x 800 px and 240 dpi. However, I just received a newer 540 x 960 px phone with the same 240 dpi, so I figured I should take a look to adjust the elements to the new resolution.
As before (that is before B4A 3.20) I went over to the Designer, added the new resolution, set a certain AutoScaleRate, ran it, and... nothing happened! The screen stays the same (i.e. how it looks like with the same 480 x 800 px by 240 dpi screen), with a large unfilled space at the right side and bottom. I set the AutoScaleRate and AutoScaleAll to test for the current variant, for all variants... the idea is the same. Noting works?
What am I doing wrong?
To test that, I just put up a simple sample that basically does nothing except show a large label and button, it fills almost all the screen on 480 x 800 but the problem remains on 540 x 960. So that basically shows the inconvenience.
I've attached the whole project, maybe someone can have a look and let me know what am I doing wrong. I'd very much need to get the elements resized to the new screen dimension!
Please help!
Thank you!
Adrian
I'm working on a larger project and I usually use phones that are 480 x 800 px and 240 dpi. However, I just received a newer 540 x 960 px phone with the same 240 dpi, so I figured I should take a look to adjust the elements to the new resolution.
As before (that is before B4A 3.20) I went over to the Designer, added the new resolution, set a certain AutoScaleRate, ran it, and... nothing happened! The screen stays the same (i.e. how it looks like with the same 480 x 800 px by 240 dpi screen), with a large unfilled space at the right side and bottom. I set the AutoScaleRate and AutoScaleAll to test for the current variant, for all variants... the idea is the same. Noting works?
What am I doing wrong?
To test that, I just put up a simple sample that basically does nothing except show a large label and button, it fills almost all the screen on 480 x 800 but the problem remains on 540 x 960. So that basically shows the inconvenience.
I've attached the whole project, maybe someone can have a look and let me know what am I doing wrong. I'd very much need to get the elements resized to the new screen dimension!
Please help!
Thank you!
Adrian