Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Show an image inside Editor in Xamarin.Forms

xamarinboyxamarinboy TRMember ✭✭
edited February 2017 in Xamarin.Forms

Hi developers,

I am trying to show an image inside editor. I did it by using Absolute Layout however there is a problem with this approach: When user types and text comes to the end of the line the image does not go to new line. Because of this problem, the image covers text and text becomes invisible for this line. How can i handle this problem? Any idea ?

Here is my code

<AbsoluteLayout HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">

    <localEditor:CustomEditor x:Name="EventEditor" AbsoluteLayout.LayoutBounds="1,1,1,1" AbsoluteLayout.LayoutFlags="All"/>
    <Image  x:Name="EventMedia" AbsoluteLayout.LayoutBounds=".5,.8,.4,.4" AbsoluteLayout.LayoutFlags="All"></Image>


Best Answer


Sign In or Register to comment.