feathersui-starling
feathersui-starling copied to clipboard
AnchorLayout edge alignment
The AnchorLayout / AnchorLayoutData are already very similar to the RelativeLayout / RelativeLayout.LayoutParams on Android. But they lack alignment of edges among views. I think this would be a great addition to the layout.
There could be new (boolean) properties (alignTop, alignLeft, etc.) on AnchorLayoutData. The offsets defined by top, left, etc. would still be used but the view would be moved relative to the x/y position of the anchor view if these new properties are set to true.
👌