Im trying to learn xamarin and to make a UI in xamarin forms. I trying to add <image/>
but when I add more than 2 line of code <image/>
I get this error An unhandled exception occured
and I don't know why. I tried to search for a solution but I don't have any luck to solve it. Please how can I resolve this?
my xaml:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MyMenu.Home"
Title ="Home">
<ScrollView>
<Grid RowSpacing="0">
<Grid.RowDefinitions>
<RowDefinition Height="180"/>
<RowDefinition Height="180"/>
<RowDefinition Height="180"/>
<RowDefinition Height="180"/>
</Grid.RowDefinitions>
<Image Grid.Row="0" Aspect="AspectFill" Source="order.jpg"/>
<Image Grid.Row="1" Aspect="AspectFill" Source="loyaltycard.jpg"/>
<Image Grid.Row="2" Aspect="AspectFill" Source="coupon.jpg"/>
<Image Grid.Row="3" Aspect="AspectFill" Source="photo.jpg"/>
</Grid>
</ScrollView>