Hey Guys, I'm a beginner. How can I center a group of labels in the middle of the screen? thanks :)

    <StackLayout HorizontalOptions="CenterAndExpand" VerticalOptions="Center">
        <Label Text="Hello" Font="Arial, 50" FontAttributes="Bold" TextColor="White"></Label>
        <Label Text="How are you?" Font="Arial, 15" FontAttributes="Bold" TextColor="White"></Label>
    </StackLayout>

here they're all gonna be set in the top.

Best Answer

Answers

Sign In or Register to comment.