Hello
I have a relative layout inside of it I have an image and I want that image to fill all the space left vertically and horizontally something like this:
I have tried:
var image = new Image
{
//Source = aMessage.Url,
//Aspect = Aspect.AspectFill,
//VerticalOptions = LayoutOptions.FillAndExpand,
//HorizontalOptions = LayoutOptions.FillAndExpand,
BackgroundColor = Color.Red,
WidthRequest = 200,
HeightRequest = 200
};
But the image is not showing, the only way that the image is showing is using width and height request, I have also tried including the relative view and a content view inside a stacklayout but is not working either.
Any ideas?