Forum Xamarin.Forms

Centering in Xamarin.Form's RelativeLayout vs Android's RelativeLayout

JohnnyWuJohnnyWu USMember ✭✭

When programming in Android, if I have to center something, this is all I need is the below line in the XML:

If there an equivalent way to center an object in XAML?



  • CharwakaCharwaka INMember ✭✭✭✭✭

    HorizontalOptions="Center" VerticalOptions ="Center" Make sure your parent is Grid

Sign In or Register to comment.