Hello,
Let me make my 5 cents with a wish...
Creating different layouts for hundreds of devices is pain in... you know where. Google really did it to us with Android. On the other hand, creating dynamic layout using designer scripts is even bigger pain in the same place.
Many advanced "controls" in IDEs have automatic "align" attribute which is set in events like "repaint" (in our case that one happens in Activity.Resume) which helps control to align to specific position inside parent. This keeps things in position without hundreds of lines of code.
Another a little bit more advanced attribute is "anchor" - that one would keep boundaries of a control always in the same place. Delphi VCL has excellent implementation of this: if control is EditText, for example, and has attribute Anchor.Right and Anchor.Left, then its left and right position would not change with screen size, but width would.
I do not know how hard are these things to do (bring from Java level to B4A), but would rapidly simplify dynamic screen building...
Regards,
Davor
Let me make my 5 cents with a wish...
Creating different layouts for hundreds of devices is pain in... you know where. Google really did it to us with Android. On the other hand, creating dynamic layout using designer scripts is even bigger pain in the same place.
Many advanced "controls" in IDEs have automatic "align" attribute which is set in events like "repaint" (in our case that one happens in Activity.Resume) which helps control to align to specific position inside parent. This keeps things in position without hundreds of lines of code.
Another a little bit more advanced attribute is "anchor" - that one would keep boundaries of a control always in the same place. Delphi VCL has excellent implementation of this: if control is EditText, for example, and has attribute Anchor.Right and Anchor.Left, then its left and right position would not change with screen size, but width would.
I do not know how hard are these things to do (bring from Java level to B4A), but would rapidly simplify dynamic screen building...
Regards,
Davor