I am trying to build following layout in XAML for Xamarin forms app.
Here is my code
<AbsoluteLayout
HorizontalOptions="FillAndExpand"
HeightRequest="350">
<Frame
AbsoluteLayout.LayoutFlags="SizeProportional"
AbsoluteLayout.LayoutBounds="0,0,1,1"
BackgroundColor="White"
HasShadow="true"
CornerRadius="10"
Margin="20,25,20,25">
<StackLayout>
</StackLayout>
</Frame>
<Image
AbsoluteLayout.LayoutFlags="PositionProportional"
AbsoluteLayout.LayoutBounds="0.5,1,50,50"
Source=“icon.png”/>
</AbsoluteLayout>
It works good on IOS but icon image is not shown correctly in android.
Please look at following screenshot.
Please help me to fix!