Skip to content

chugh22/ButterToast

Repository files navigation

ButterToast

CustomToast Library

Under development

Some Screenshots

Prerequisites

Add this in your root build.gradle file (not your module build.gradle file):

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

Dependency

Add this to your modules build.gradle file

dependencies {
	        compile 'com.github.chugh22:ButterToast:0.1.2'
	}

Using builder Functions

new ButterToast.Builder(<Context>)
                        .build()
                        .setCornerRadius(10.5f)
                        .setTextColor(Color.WHITE)
                        .setIcon(<Drawable>)
                        .setText("Custom toast").makeToast().show() ;

About

CustomToast Library

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages