setPress

open fun setPress()

Starts the press animation.

Initiates a scaling animation to simulate a press effect down to the fixed scale ratio. If an animation is already running, it will be cancelled and a new press animation will start from the current animated value. The animation uses a predefined press interpolator and duration.