Created
April 8, 2016 12:36
-
-
Save adamped/a1012979e4353c2efe83dee5cf5dd1f9 to your computer and use it in GitHub Desktop.
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
<?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:gesture="clr-namespace:Mobile.Gestures;assembly=Mobile" | |
x:Class="Mobile.View.MainPage" BackgroundColor="Black"> | |
<Label Text="Press Me" WidthRequest="250" HeightRequest="100" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" TextColor="{Binding TextColor}" BackgroundColor="{Binding BackgroundColor}" VerticalOptions="Center" HorizontalOptions="Center"> | |
<Label.GestureRecognizers> | |
<gesture:PressedGestureRecognizer Command="{Binding PressedGestureCommand}" /> | |
<gesture:ReleasedGestureRecognizer Command="{Binding ReleasedGestureCommand}" /> | |
</Label.GestureRecognizers> | |
</Label> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment