I would do this:
For the black line use a panel or a label with a given small height (1dip?) and its colour set to black
To move it, just change its layout "Top" property
For the buttons, do something similar. In order to allow them to "grow upwards", when you need to modify its height (for instance to "newHeight") change also its "Top" property to "fixedBottomCoordinate - newHeight".