Frame ripple tap effect

Eric888Eric888 USMember ✭✭
edited July 2018 in Xamarin.Forms

I am using xamarin forms, I am using a frame that has TapGestureRecognizer, but when the frame is clicked there is no tap effect, how can i give a ripple tap effect to the frame like a button has?


Best Answer

  • JohnHardmanJohnHardman GB mod
    Accepted Answer

    @Eric888 - An easy way is to use ScaleTo twice, with the second call putting the frame back to its original size:

                await frame.ScaleTo(1.2, 100);
                await frame.ScaleTo(1, 100);


Sign In or Register to comment.