MaterialToast
A fully and highly customizable material designed Toast for Android.
You can download the sample apk here.
Releases:
Current release: 1.0.2.
You can see all the library releases here.
Usage:
Adding the depencency
Add this to your root build.gradle file:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Now add the dependency to your app build.gradle file:
implementation 'com.github.marcoscgdev:MaterialToast:1.0.2'
Creating a Toast
- Native version
Also with custom icon
And also with custom background color (text will be automatically colored based on background color)
NEW! With custom duration (in millis):
- Complete version