I have developed my first android/B4a app. I used the designer to build my screen for a 320x480 layout. Runs great on all phones, 7 inch tablets, and 10 inch tablets. But on the large platforms, it does not look good.
When running on large screens, I need to reposition my views. How do I do that. For instance, after loading the Layout I tried:
ImageView1.Left := Round((Activity.Width - ImageView1.Width)/2)
but I get a compiler error which says "Illegal first word in line."
I'm new to Basic and Android development. I'm sorry if this seems simple but your help will be appreciated.
Randall H. Carpenter
When running on large screens, I need to reposition my views. How do I do that. For instance, after loading the Layout I tried:
ImageView1.Left := Round((Activity.Width - ImageView1.Width)/2)
but I get a compiler error which says "Illegal first word in line."
I'm new to Basic and Android development. I'm sorry if this seems simple but your help will be appreciated.
Randall H. Carpenter