Friday, 3 November 2017

Xamarin Forms Stretched Background Image [Tutorial 30]


Step1: Insert IT Inside Your MainPage.xaml
<RelativeLayout>
<Image Source="http://wallsdesk.com/wp-content/uploads/2016/03/Eagle-Android-Wallpapers.jpg"
RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent,Property=Width}"
RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent,Property=Height}"/>
<Grid RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent,Property=Width}"
RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent,Property=Height}">
<Label Text="Eagle Feed On!!!!" VerticalOptions="Center" HorizontalOptions="Center" FontSize="30"/>
</Grid>
</RelativeLayout>
view raw MainPage.xaml hosted with ❤ by GitHub

Step2:There Are No more steps holaaa......!!!!

No comments:

Post a Comment