Boom

A lightweight library written in Kotlin to implement elastic touch effect in your project.

Boom

Installation

build.gradle

Add jitpack maven in your root build.gradle at the end of repositories:

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Add the dependency to your app build.gradle file (not your project build.gradle file).

dependencies {
   implementation 'com.github.astrit-veliu:Boom:1.0'
}

Usage

Boom is really easy to use and gives to your Views a beautiful touch effect.

Kotlin

Some of material widgets needs to be casted to View, otherwise it will show Type mismatch warning.

  Boom(txt_header)
  Boom(material_text_button as View)

Java

After views are binded simply pass the name of widget to Boom constructor.

  new Boom(txt_header);
  new Boom(material_text_button);

GitHub