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>

  </AbsoluteLayout>

Best Answer

Answers

Sign In or Register to comment.