How to add touch effect to TRectangle in Delphi Firemonkey / Android app?


I want to add touch effect animation (expanding circe) to a TRectangle. Same kind of effect that is present on TButtons by default – when you put a finger on them they start to draw expanding circle.

I’m looking for the simplest way of doing so, preferrably in the FMX (e.g. take some component from component palette, add it to Rect1 and configure), not in code.

Why not use custom TButton? Well, I’m looking to use only this touch effect and don’t need any of the additional button properties / methods.

Comments are closed.