Image is not getting filled Horizontally, especially in Android Devices.

Hi everyone
I am working on a Xamarin forms app and trying to give an Image in a UI using Absolute layout.
It fills the screen completely in iOS devices but there is a little space on both right and left sides when I am running it in Android devices.

I have tried the following :
AbsoluteLayout.LayoutFlags="All"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"

and this:

AbsoluteLayout.LayoutBounds="0,0,1,1"
AbsoluteLayout.LayoutFlags="All"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"

But its not working, Please suggest something.
Thanks.

Best Answer

Answers

Sign In or Register to comment.