BlackHat
BlackHat

Reputation: 189

How to position a button using X and Y coordinates in xamarin forms?

I want to position a button at place having certain pixels distance from left and top. I have the exact position in pixels of where to place the button. But, how can I do so?

Upvotes: 2

Views: 15361

Answers (1)

puko
puko

Reputation: 2970

Try Absolute layout

https://developer.xamarin.com/guides/xamarin-forms/user-interface/layouts/absolute-layout/

Another option is create view renderer which implement this funcionality in native part.

Upvotes: 4

Related Questions