hi everyone,
I'm developing a cross platfom app, and I want it to show some images. I have a code such as this one, but it doesn't work:
var image1 = new Xamarin.Forms.Image
{
Source = "pic3.png"
};
var MainScrollView = new ScrollView
{
Content = new StackLayout
{
Children =
{
image1
}
}
};
The code is in the constructor of the file pippo.xaml.cs
If I put a Label instead of the Image it works
pic3.png is in "Resources/Drawble"