I have been developping B4A applications for a week now, so I'm a real newbie with it. I have an issue with display though. Let me explain.
I use an AVD, and in the Designer, the Activity just looks fine. Exactly what I want.
Yet, when I run my project on my 7inch tablet, an Archos Arnova 7f G3, the Activity only takes one quarter of my screen. Everything is small, I can barely read, whereas on the emulator it works just fine ! Everything is "big", the whole screen is "filled", I dunno if you see what I mean...
Now I've tried different layouts, different scales, but it still doesn't work... Anyone could help ?
Thanks for the answers, and my bad for the mistakes if there were any as English is not my native language.
Helen is right, you should use percentages to position your views and use the designer scripts.
I took the liberty of "fixing" your design, take a look at the attached project it should work on any device without a problem, however, you will see that you need to make a few adjustments to some labels height and create a portrait layout, but I leave that to you as an exercise .
I hope that helps you understand how to make layouts in B4A.
Thanks for all the answers (I didn't hope to get any so fast, wow lol) so I have been following your tips and it worked great for the positioning. I have everything right where I want it and now the issue is with TextSize.
Erel, I have seen the attached post on your signature about supporting multiple screens. I have used the Delta code, but I always find myself with a scale of 1. I have tried everything I found in this very same post but it only gave a little bit of size, or reduced it at the point I couldn't even read it.
So I'm sorry for the inconvenience, but is there another way to adapt TextSize to the devices ?