Touch Effect | Xamarin.Forms | Xamarin Community Toolkit

xmlns:xct="http://xamarin.com/schemas/2020/toolkit"
<ContentView                              xct:TouchEffect.AnimationDuration="500"                              xct:TouchEffect.AnimationEasing="CubicInOut"
xct:TouchEffect.PressedScale="1.2" xct:TouchEffect.Command={Binding PressedCommand}>
<Image Source="{Binding Image}" />
<ContentView>
<StackLayout                              xct:TouchEffect.NativeAnimation="True"                                                                             xct:TouchEffect.Command={Binding PressedCommand}>
<Image Source="{Binding Image}" />
<StackLayout>
<ContentView                              xct:TouchEffect.LongPressCommand="{Binding LongPressedCommand}">                       
<Image Source="{Binding Image}" />
<ContentView>

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store