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

Super Newbie Image question

$
0
0

The idea is to have 3 Images in a Row on my app's Login screen.

I realize this is a stupid question, but I've been wrestling with my ignorance for hours now lol.

This is the latest iteration:

        Content = new StackLayout { 

            Padding=20,
            Children = {
                new StackLayout {
                    HorizontalOptions=LayoutOptions.Center,
                    Children = { 
                        new Image{ Source="facebook.png", HeightRequest=80, HorizontalOptions = LayoutOptions.Start },
                        new Image{ Source="twitter.png", HeightRequest=80, HorizontalOptions = LayoutOptions.Center },
                        new Image{ Source="google.png", HeightRequest=80, HorizontalOptions = LayoutOptions.End },
                    }
                },
                new Label { Text = "Log In" }
            }
        };

I've tried almost every combination of HorizontalOptions to make it happen and I'm obviously not getting something.

I just want to have 3 images in a row, for the HTML folks out there it would essentially be an inline flow.

I realize making the images clickable is going to be my next ball of snakes, but I'll cross that chasm when I get there.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>