Created
January 14, 2019 13:12
-
-
Save bbenetskyy/c23291d1a05c16cd39a5e9b7c53a1702 to your computer and use it in GitHub Desktop.
MainPage.xaml - Start
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
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:local="clr-namespace:StyledApp" | |
x:Class="StyledApp.MainPage"> | |
<StackLayout Orientation="Vertical" BackgroundColor="#EE007F8B"> | |
<Grid> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="1*"/> | |
<ColumnDefinition Width="3*"/> | |
</Grid.ColumnDefinitions> | |
<Label Grid.Column="0" | |
Text="Label near text field" | |
TextColor="#EEE017" | |
FontSize="Large"/> | |
<Button Grid.Column="1" | |
Text="Some Button Text" | |
BackgroundColor="#EE0E009C" | |
TextColor="#0BCC1C"/> | |
</Grid> | |
<Label Text="Welcome to Styled Xamarin.Forms!" | |
TextColor="#EEE017" | |
FontSize="Micro" | |
HorizontalOptions="Center" | |
VerticalOptions="CenterAndExpand"/> | |
<Button Text="Next Important Text" | |
BackgroundColor="#EE007F8B" | |
HeightRequest="40"/> | |
</StackLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment