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

Possible to push buttons to edge of stacklayout, mimicking the toolbar?

$
0
0

I am using a simple stacklayout to mimick a toolbar at the bottom of my app. I have a horizontal orientation on it with two buttons in it. I would like one button at the far left and one button at the far right. I build the layout in XAML. Any help is appreciated. I tried using horizontal options as seen below, but they both end up on the left.

        <StackLayout Orientation="Horizontal" HeightRequest="40">
            <Button Text="Up" HorizontalOptions="Start" />
            <Button Text="Reset" HorizontalOptions="End" />
        </StackLayout>

Viewing all articles
Browse latest Browse all 91519

Trending Articles