DEV Community

Cover image for Jetpack compose: Cool Button Click Effects
Raksha for Canopas Software

Posted on

4

Jetpack compose: Cool Button Click Effects

In any mobile app you use, there are ways to give the user feedback when they interact with the app.

For example, when the user touches the Toggle button, it’ll change its state in response to the interaction. This interaction gives a feel to the user.

In this blog, you will learn click effects to make your button click attractive.

By default, the button displays a ripple effect when it is touched. You can customize ripple color, alpha, etc.. according to your requirements. But we won't focus on those things. Yes, but we’ll learn a few ways to disable default ripple effects.

Here are 5 cool effects that you will learn in this post.

  1. Pulsate effect
  2. Press Effect
  3. Shake Effect
  4. Animate the shape on click
  5. 3 Ways to disable the default click effect

For detailed implementation, check out this amazing article.

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay