Created
January 14, 2019 13:31
-
-
Save bbenetskyy/1189059d835b82ba970a44feb8b33286 to your computer and use it in GitHub Desktop.
Main Page With Css
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"> | |
<ContentPage.Resources> | |
<StyleSheet Source="Styles/MainPage.css"/> | |
</ContentPage.Resources> | |
<StackLayout> | |
<Grid> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="1*"/> | |
<ColumnDefinition Width="3*"/> | |
</Grid.ColumnDefinitions> | |
<Label Grid.Column="0" | |
Text="Label near text field"/> | |
<Button Grid.Column="1" | |
Text="Some Button Text"/> | |
</Grid> | |
<Label Text="Welcome to Styled Xamarin.Forms!" | |
HorizontalOptions="Center" | |
VerticalOptions="CenterAndExpand"/> | |
<Button Text="Next Important Text"/> | |
</StackLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment