I need block with fixed height (e.g. 200) with background image, which should AspectFill
this block and StackLayout
with unknown height at the bottom of this block.
I tried to use RelativeLayout
and put Image
and StackLayout
in it. Image placed perfectly, but I don't know how to place StackLayout
at the bottom.
This layout containes two Labels
, so I can't hard-code it's HeightConstrait
and YConstrait
to constant, becouse it text may have different height on different platforms and screen sizes (or, maybe, this is wrong?)
How can I do this?