Created
September 16, 2018 09:23
-
-
Save foxanna/dda17ec84737edca13d17e446b986d4e 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
<ContentPage ... | |
xmlns:effects="clr-namespace:<project>.Effects;assembly=<project>" | |
BackgroundColor="PaleTurquoise"> | |
<ContentPage.Resources> | |
<ResourceDictionary> | |
<x:Int32 x:Key="SmallCornerRadius">4</x:Int32> | |
<x:Int32 x:Key="MediumCornerRadius">8</x:Int32> | |
<x:Int32 x:Key="LargeCornerRadius">16</x:Int32> | |
</ResourceDictionary> | |
</ContentPage.Resources> | |
<StackLayout ... | |
BackgroundColor="WhiteSmoke" | |
effects:RoundCornersEffect.CornerRadius="48"> | |
<BoxView ... | |
BackgroundColor="Navy" | |
effects:RoundCornersEffect.CornerRadius="{StaticResource LargeCornerRadius}" /> | |
<Label ... | |
TextColor="White" | |
BackgroundColor="DeepSkyBlue" | |
effects:RoundCornersEffect.CornerRadius="{StaticResource SmallCornerRadius}" /> | |
<ContentView ... | |
effects:RoundCornersEffect.CornerRadius="{StaticResource MediumCornerRadius}"> | |
<Image ... | |
Source="..." /> | |
</ContentView> | |
</StackLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment