This short video demonstrates how anchors can be used to build a flexible interface.
I think that your layout scales "well" (EditText1 could become too large or too small) because the buttons are placed in the corners.
If you had a layout like this:
and you wanted that the central buttons (5-6-7) to stay at the center? How do you anchor them? You can't, I think; and this is because there is not an "anchor NONE" setting.
As you know, MS .Net has this setting (NONE) and it has also two other very useful settings: MaximumSize and MinimumSize.
I think that without these three settings, you can not scale well a layout automatically.
Finally, it has the possibility to anchor controls at runtime (but I think those three settings are more important).
Hi,
If i add a new control like a textbox using code can, i set the anchors of the textbox by code. I can't find any method to use.
Thanks.