Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Drawing outside of layout

$
0
0

I have created a control, that is drawn natively on each platform in the Draw event. That works perfect on iOS and Android. It shows the direction to a given point with an arrow.

I want to draw this control outside of the layout to which it belongs, so that it overlays the layout only partially. Best to seen with an image (first image).

I have problems to draw this control outside of the layout on Android. Only the part inside the containing layout is drawn correct. You could see this on the second image. I changed the direction to the given point. The part of the arrow inside the StackLayout, to which the control belongs, is drawn perfect, but outside it isn't updated.

How can I achive, that the control is also updated outside of the layout?


Viewing all articles
Browse latest Browse all 58056

Trending Articles