Created
January 4, 2017 08:05
-
-
Save ytabuchi/9a180094ef4dff319ba2dc1d80bb0703 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var stack = new StackLayout | |
{ | |
Children = | |
{ | |
new BoxView | |
{ | |
HeightRequest = 100, | |
BackgroundColor = Color.FromHex("cccccc") | |
}, | |
new BoxView | |
{ | |
HeightRequest = 50, | |
BackgroundColor = Color.FromHex("ffaaaa"), | |
VerticalOptions = LayoutOptions.EndAndExpand | |
}, | |
new BoxView | |
{ | |
HeightRequest = 50, | |
BackgroundColor = Color.FromHex("aaffaa"), | |
VerticalOptions = LayoutOptions.CenterAndExpand | |
}, | |
new BoxView | |
{ | |
HeightRequest = 50, | |
BackgroundColor = Color.FromHex("aaaaff"), | |
VerticalOptions = LayoutOptions.StartAndExpand | |
}, | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment