Last active
July 9, 2017 20:01
-
-
Save Stayrony/7ee9040cc7632c7edd462d3b5b587f52 to your computer and use it in GitHub Desktop.
Adding shadows to views in Xamarin.Forms Android using 9-patch image
This file contains hidden or 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
<controls:ShadowFrame Grid.Row="1" Padding="0" VerticalOptions="Center"> | |
<controls:ShadowFrame.Content> | |
<StackLayout Spacing="10" VerticalOptions="FillAndExpand"> | |
<Image Source="https://i.ytimg.com/vi/61aM0DXpKkc/maxresdefault.jpg" Aspect="AspectFill" /> | |
<Label Text="EXTREME DOWNHILL" Margin="20, 0" /> | |
<Label Margin="20, 10, 20, 40" Text="Downhill mountain biking (DH) is a genre of mountain biking practiced on steep, rough terrain that often features jumps, drops, rock gardens and other obstacles ..." /> | |
</StackLayout> | |
</controls:ShadowFrame.Content> | |
</controls:ShadowFrame> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment