1
I’m trying to create a screen that has an image at the end of the screen and above it is the login buttons, like this one:
with the yellow rectangle below and the buttons above it. but I can’t do it, see the result:
and here comes the code:
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="vanhack.mobile.StartPageView"
BackgroundImage="bg.png">
<StackLayout>
<Label Text="Tentando Fazer um layout bonito!" VerticalOptions="Center"></Label>
<StackLayout VerticalOptions="EndAndExpand">
<RelativeLayout >
<Button Text="Log In With e-mail" Command="{Binding EmailLoginCommand}"></Button>
<Image Source="Rectangle2.png" />
<Image Source="linkedin.png" />
</RelativeLayout>
</StackLayout>
</StackLayout>
How to fix?
Hello! Thanks for answering, did you see that the yellow triangle lost size? wanted it to be msm size. = x
– Biellx
@Biellx I don’t have the original images you used, if you leave a link to them here I can do another test. It is also worth remembering that it is important to be positive and mark the answer as accepted.
– rubStackOverflow