Created
January 30, 2018 23:02
-
-
Save juucustodio/232c48f64aa58934b4d2b6eda0f7241b to your computer and use it in GitHub Desktop.
Example of Global Styles in Xamarin.Forms applications - http://julianocustodio.com/global-styles
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:DemoTimeLine" | |
x:Class="Style.MainPage"> | |
<StackLayout HorizontalOptions="CenterAndExpand" | |
VerticalOptions="CenterAndExpand"> | |
<Label Text="Welcome to Xamarin.Forms!" | |
Style="{StaticResource TitleStyle}"/> | |
<Button Text="Save" | |
Style="{StaticResource ButtonStyle}"/> | |
</StackLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment