Refer to TestAnchor#1, Now I need to anchor 16 the buttons (15 Puzzles) on the panel1,but size of panel1 isn't size of main activity. I've tried it,but It's not form which I need to be.
1. The panel is not the button's parent. You should change this.
2. Anchors will not really help here. It will be easier to build such a layout programmatically.
Hi Erel,
I've updated to be version 3.2. In my Idea,the 16 buttons should automatic relocation themselves(without coding in the designer script) followed size of panel1 which changed by coding in designer script .
Hi Erel,
Please see this. compare with this which created by previously version The buttons's Restart and Close are created by anchored,but the 16 buttons aren't . I think that the anchored feature is fix for B4A programming,isn't it? (I think that the anchored feature is really useful,isn't it? because I still must coding in designer script)
I think that the anchored feature is fix for B4A programming,isn't it? (I think that the anchored feature is really useful,isn't it? because I still must coding in designer script)
The anchor feature is not a fix. It is another tool in the set of tools that you can use to design your layout. It is also not a replacement for designer scripts.