Click Shrink Effect

Hardik Dungrani
Dec 26, 2019 · 1 min read

This library add a shrinking effect on any ‘View’ while clicking.

How it’s work

How to integrate Click Shrink Effect Library into Android Project?

Step 1:

Add below code into <project>/build.gradle file.

allprojects {
repositories {
maven { url '' }

Step 2:

Add below code into <project>/<app>/build.gradle.

dependencies {
// Add this line
implementation 'com.hardik.clickshrinkeffect:shrinkeffect:1.0.1'

Step 3:

Press on sync now in the Android Studio.

How to use Click Shrink Effect Library into Android Project?




// ORnew ClickShrinkEffect(fab);
new ClickShrinkEffect(cardView);

So that’s all for this Click Shrink Effect Tutorial. If any query/suggestion for Click Shrink Effect Tutorial ask freely on

Please go through my GitHub repository.


Hardik D.

Hardik Dungrani

Written by

I have extensive experience in developing innovative and complex Android /iOS Apps and also in Website Developing. Been working in Kotlin for the last 2 years.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade