DesignerToast
A custom toast message in android.
Prerequisites
Add this in your root build.gradle
file (not your module build.gradle
file):
Dependency
Add this to your module's build.gradle
file (make sure the version matches the JitPack badge above):
Usage
To display an default Toast:
To display a success Toast:
To display the error Toast:
To display a warning Toast:
To display an info Toast:
Custom Toast ?❤️?
To display the custom Toast:
Prameters Required -> Context, Message, Gravity, Toast Length, Custom Background, Text Size, Text Color,
Toast Image,Layout Width, Layout Height.
Screenshots ?❤️?
Please click the image below to enlarge.
Dark Theme Toast
Just write DesignerToast.STYLE_DARK in parameter
Usage
To display a success Toast:
To display the error Toast:
To display a warning Toast:
To display an info Toast:
Dark Theme Screenshots
Contributing
Please fork this repository and contribute back.
Any contributions, large or small, major features, bug fixes, are welcomed and appreciated
but will be thoroughly reviewed .