Forum Xamarin.Forms


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

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.